Information Exposure Affecting mechanize package, versions <2.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-RUBY-MECHANIZE-20363
  • published8 May 2017
  • disclosed19 Apr 2012
  • creditEric Hodel

Introduced: 19 Apr 2012

CVE NOT AVAILABLE CWE-200  (opens in a new tab)

How to fix?

Upgrade mechanize to version 2.4 or higher.

Overview

mechanize is used for automating interaction with websites.

Affected versions of the package exposed the http authentication credentials. Only one set of HTTP authentication credentials were allowed for a connections. If a mechanize instance connected to more than one server then a malicious server detecting mechanize could ask for HTTP Basic authentication. This would expose the username and password intended only for one server.

CVSS Scores

version 3.1