Skip to main content
← All vulnerabilities
CVE-2022-31033GHSA-64QM-HRGP-PGR9

Authorization header leak in rubygem Mechanize

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • sparklemotion mechanize

    fixed in 2.8.5

  • mechanizeRubyGems

    fixed in 2.8.5

References 4

GitHub · sparklemotion/mechanize

lists.fedoraproject.org