
CVE catalog
CVE-2022-31033
ruby-mechanize: CVE-2022-31033
- Severity
- Medium
- Source
- [NVD] · [CVE record]
- EPSS
- 1.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-mechanize | sid | 2.14.1-1 | fixed |
| Debian | ruby-mechanize | forky | 2.14.1-1 | fixed |
| Debian | ruby-mechanize | trixie | 2.10.1-1 | fixed |
| Debian | ruby-mechanize | bookworm | 2.8.5-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-mechanize | source | sid | 2.8.5-1 | not yet assigned | Not reported | [1014809] |
| Debian | ruby-mechanize | source | forky | 2.8.5-1 | not yet assigned | Not reported | [1014809] |
| Debian | ruby-mechanize | source | trixie | 2.8.5-1 | not yet assigned | Not reported | [1014809] |
| Debian | ruby-mechanize | source | bookworm | 2.8.5-1 | not yet assigned | Not reported | [1014809] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-mechanize]Fixed
Details (2)
2.8.5-1· all · bookwormFixed · Fixed:
2.8.5-1dsa · ruby-mechanize · debian · bookworm
2.8.5-1· all · bookwormFixed · Fixed:
2.8.5-1dsa · ruby-mechanize · debian · bookworm
Observed: