CVE-2021-32740
Addressable Project Addressable vulnerability
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability exists after version 2.3.0 through version 2.7.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. The vulnerability is patched in version 2.8.0. As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking.
Affected products
Addressable, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Addressable Project Addressable runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sporkmonger/addressable/commit/0d8a3127e35886ce9284810a7f2438bff6b43cbc · Patch
- github.com/sporkmonger/addressable/security/advisories/GHSA-jxhc-q857-3j6g · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W
- github.com/sporkmonger/addressable/commit/89c76130ce255c601f642a018cb5fb5a80e679a7
- nvd.nist.gov/vuln/detail/CVE-2021-32740
- github.com/sporkmonger/addressable/commit/92685096b1f7235ed8986c03ce30a24972eed848#diff-fb
- github.com/advisories/GHSA-jxhc-q857-3j6g
- nvd.nist.gov/vuln/detail/CVE-2021-32740
- cve.org/CVERecord?id=CVE-2021-32740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.