Information disclosure in Mechanize Project
CVE-2022-31033
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.015, 75.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mechanize Project
- Sparklemotion Mechanize — versions < 2.8.5
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
References
- github.com/sparklemotion/mechanize/security/advisories/GHSA-64qm-hrgp-pgr9 (Third Party Advisory)
- github.com/sparklemotion/mechanize/commit/c7fe6996a5b95f9880653ba3bc548a8d4ef72… (Patch, Third Party Advisory)
- FEDORA-2022-fda14723ec (vendor-advisory)
- FEDORA-2022-6b1b324753 (vendor-advisory)