Information Exposure Affecting ruby-mechanize package, versions <2.8.5-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.33% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-RUBYMECHANIZE-2869089
  • published12 Jun 2022
  • disclosed9 Jun 2022

Introduced: 9 Jun 2022

CVE-2022-31033  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade Debian:12 ruby-mechanize to version 2.8.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-mechanize package and not the ruby-mechanize package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1