GHSA-qrpw-gjvh-x5gm
Nautobot: Object bulk rename UI actions vulnerable to denial of service by crafted regular expression (REDoS)
Details
### Impact
Nautobot UI object-bulk-rename endpoints (for example, `/dcim/interfaces/rename/`) were vulnerable to application-wide denial of service via maliciously crafted regular expressions in the `find` field in combination with the `use_regex` flag.
### Patches
A general-purpose timeout has been added to these endpoints in Nautobot v2.4.33 and v3.1.2, which ensures that the request will fail early with an appropriate message if regular expression evaluation takes more than a short period of time, instead of continuing to execute for an indefinite duration.
### Workarounds
No known workaround has been identified at this time.
### References
- 2.4.33 (<a href="https://github.com/nautobot/nautobot/commit/c2b766966d814a7141f62c7bc90c85fefb7892ee">patch</a>) - 3.1.2 (<a href="https://github.com/nautobot/nautobot/commit/5a30d0916953afbeedd24a784709e762cc3879cd">patch</a>)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/nautobot/nautobot/security/advisories/GHSA-qrpw-gjvh-x5gm [WEB]
- https://github.com/nautobot/nautobot/commit/5a30d0916953afbeedd24a784709e762cc3879cd [WEB]
- https://github.com/nautobot/nautobot/commit/c2b766966d814a7141f62c7bc90c85fefb7892ee [WEB]
- https://github.com/nautobot/nautobot [PACKAGE]
- https://github.com/nautobot/nautobot/releases/tag/v2.4.33 [WEB]
- https://github.com/nautobot/nautobot/releases/tag/v3.1.2 [WEB]