Mechanize CHANGELOG

2.14.0 / 2025-01-05

2.13.0 / 2025-01-02

2.12.2 / 2023-10-02

2.12.1 / 2024-08-21

2.12.0 / 2024-07-29

2.11.0 / 2024-07-18

2.10.1 / 2024-06-12

2.10.0 / 2024-01-22

2.9.2 / 2024-01-15

2.9.1 / 2023-04-17

Update

2.9.0 / 2023-04-07

Requirements

Improvement

2.8.5 / 2022-06-09

Security

Fixes low-severity CVE-2022-31033, “Authorization header leak on port redirect.” See GHSA-64qm-hrgp-pgr9 for more details.

2.8.4 / 2022-01-17

Fix

2.8.3 / 2021-11-11

Update

2.8.2 / 2021-08-06

Dependencies

2.8.1 / 2021-05-09

Fix

2.8.0 / 2021-04-01

Requirements

New Features

Bug fix

2.7.7 / 2021-02-01

Mechanize >= v2.0, < v2.7.7 allows for OS commands to be injected into several classes’ methods via implicit use of Ruby’s Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls:

See github.com/sparklemotion/mechanize/security/advisories/GHSA-qrqm-fpv6-6r8g for more information.

Also see #547, #548. Thank you, @kyoshidajp!

2.7.6

2.7.5

2.7.4

2.7.3

2.7.2

2.7.1

2.7.0

2.6.0

2.5.2

2.5.1

2.5

2.4

Mechanize#auth and Mechanize#basic_auth allowed disclosure of passwords to malicious servers and have been deprecated.

In prior versions of mechanize only one set of HTTP authentication credentials were allowed for all 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.

Mechanize#auth and Mechanize#basic_auth now warn when used.

To fix the warning switch to Mechanize#add_auth which requires the URI the credentials are intended for, the username and the password. Optionally an HTTP authentication realm or NTLM domain may be provided.

2.3 / 2012-02-20

2.2.1 / 2012-02-13

2.2 / 2012-02-12

2.1.1 / 2012-02-03

2.1 / 2011-12-20

2.0.1 / 2011-06-28

Mechanize now uses minitest to avoid 1.9 vs 1.8 assertion availability in test/unit

2.0 / 2011-06-27

Mechanize is now under the MIT license

1.0.0

0.9.3

0.9.2 / 2009/03/05

0.9.1 2009/02/23

0.9.0

0.8.5

0.8.4

0.8.3

0.8.2

0.8.1

0.8.0

0.7.8

0.7.7

0.7.6

0.7.5

0.7.4

0.7.3

0.7.2

0.7.1

0.7.0

0.6.11

0.6.10

0.6.9

0.6.8

0.6.7

0.6.6

0.6.5

0.6.4

0.6.3

0.6.2

0.6.1

0.6.0

0.5.4

0.5.3

0.5.2

0.5.1

0.5.0

0.4.7

0.4.6

0.4.5

0.4.4

0.4.3

0.4.2

0.4.1

0.4.0