VYPR
Medium severity5.9NVD Advisory· Published Jun 9, 2022· Updated Jun 17, 2026

CVE-2022-31033

CVE-2022-31033

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mechanizeRubyGems
< 2.8.52.8.5

Affected products

5
  • cpe:2.3:a:mechanize_project:mechanize:*:*:*:*:*:ruby:*:*
    Range: <2.8.5
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • ghsa-coords
    Range: < 2.8.5
  • sparklemotion/mechanizev5
    Range: < 2.8.5

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.