CVE catalog

CVE-2022-31033

ruby-mechanize: CVE-2022-31033

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianruby-mechanizesid2.14.1-1fixed
Debianruby-mechanizeforky2.14.1-1fixed
Debianruby-mechanizetrixie2.10.1-1fixed
Debianruby-mechanizebookworm2.8.5-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-mechanizesourcesid2.8.5-1not yet assignedNot reported[1014809]
Debianruby-mechanizesourceforky2.8.5-1not yet assignedNot reported[1014809]
Debianruby-mechanizesourcetrixie2.8.5-1not yet assignedNot reported[1014809]
Debianruby-mechanizesourcebookworm2.8.5-1not yet assignedNot reported[1014809]

[Debian bug #1014809]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.8.5-1 · all · bookworm

      Fixed · Fixed: 2.8.5-1

      dsa · ruby-mechanize · debian · bookworm

    • 2.8.5-1 · all · bookworm

      Fixed · Fixed: 2.8.5-1

      dsa · ruby-mechanize · debian · bookworm

Observed:

References