CVE-2022-31033 - CVE House
Back to Database
Status published Medium CVE-2022-31033

Authorization header leak in rubygem Mechanize

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31033

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

sparklemotion

View all reports →

Affected Software

mechanize
Vulnerable Versions:
< 2.8.5

Timeline

Official Publish: June 9th, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses (CWE)