CVE-2022-31033
Mechanize Project Mechanize vulnerability
The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, and can follow links and submit forms. In versions prior to 2.8.5 the Authorization header is leaked after a redirect to a different port on the same site. Users are advised to upgrade to Mechanize v2.8.5 or later. There are no known workarounds for this issue.
Affected products
Mechanize, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mechanize Project Mechanize 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/sparklemotion/mechanize/commit/c7fe6996a5b95f9880653ba3bc548a8d4ef72317 · Patch
- github.com/sparklemotion/mechanize/security/advisories/GHSA-64qm-hrgp-pgr9 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O
- nvd.nist.gov/vuln/detail/CVE-2022-31033
- cve.org/CVERecord?id=CVE-2022-31033
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.