GHSA-64qm-hrgp-pgr9 · Severity: medium · Ecosystem: rubygems — Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect
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.
Conclusion & alert: CVE-2022-31033 is rated Moderate Risk (42.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.32%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.35% | 0.32% | -0.04% |
| 2 | 2025-11-18 | 0.32% | 0.35% | +0.04% |
| 3 | 2025-11-04 | — | 0.32% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-64qm-hrgp-pgr9 · Severity: medium · Ecosystem: rubygems — Mechanize before v2.8.5 vulnerable to authorization header leak on port redirect
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-31033 not yet assigned priority: Debian including 1 source packages (ruby-mechanize), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2022-31033 |
ubuntu
|
medium | CVE-2022-31033 medium priority: Ubuntu including 1 source packages (ruby-mechanize), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 6, not-affected 5, needs-triage 3. | https://ubuntu.com/security/CVE-2022-31033 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| mechanize_project | mechanize | < 2.8.5 | cpe:2.3:a:mechanize_project:mechanize:*:*:*:*:*:ruby:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |