ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1RubyGems 1Ubuntu 1

Advisories

  • DEBIAN-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…

    CVE-2022-31033 Debian Updated 20 November 2026
  • GHSA-64qm-hrgp-pgr9

    Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect

    Moderate CVE-2022-31033 RubyGems Updated 8 November 2023
  • UBUNTU-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…

    CVE-2022-31033 Ubuntu Updated 17 October 2026

References