CVE-2022-31033: Fedoraproject Fedora
High severity, CVSS 7.5. EPSS: 1.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Mechanize Project Mechanize, before 2.8.5: fixed in 2.8.5
Affected products
- Fedoraproject Fedora: version 35 only; version 36 only
- Mechanize Project Mechanize: before 2.8.5 (fixed in 2.8.5)
Affected packages
- mechanize (RubyGems)
Published 2022-06-09. Last modified 2026-06-17.