{"cve":"CVE-2022-31033","nvd":{"published":"2022-06-09T20:15:08.343","modified":"2026-06-17T04:44:39.013","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-200"],"references":["https://github.com/sparklemotion/mechanize/commit/c7fe6996a5b95f9880653ba3bc548a8d4ef72317","https://github.com/sparklemotion/mechanize/security/advisories/GHSA-64qm-hrgp-pgr9","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7OKZMR5O3T5HQ2V737TC7IU4WZRT2LGX/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OA2FJROTX2U6EBWDPKRQ2VAM67A5TQXF/","https://github.com/sparklemotion/mechanize/commit/c7fe6996a5b95f9880653ba3bc548a8d4ef72317"],"products":["fedoraproject:fedora","mechanize_project:mechanize"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31033","score":0.01523,"percentile":0.74645,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-64qm-hrgp-pgr9","url":"https://osv.dev/vulnerability/GHSA-64qm-hrgp-pgr9","summary":"Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect","modified":"2023-11-08T04:09:23.331413Z","packages":[{"ecosystem":"RubyGems","name":"mechanize","purl":"pkg:gem/mechanize","ranges":["<2.8.5"],"fixed":["2.8.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}