Where
-Infinity
0
Severity
7.4
EPSS
0.09%
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

A vulnerability was found in Ruby. The Ruby interpreter is vulnerable to the Marvin Attack. This attack allows the attacker to decrypt previously encrypted messages or forge signatures by exchanging a large number of messages with the vulnerable service.

1 / 2
Source: NVD
First published (updated )
Severity
8.6
Infoleak, SSRF
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.10, 4.4.17, and 4.3.23, when using Ruby versions older than 3.4, PrivateAddressCheck.privateaddress? returns false for IPv4-mapped IPv6 addresses (::ffff:a.b.c.d) corresponding to some private IPv4 addresses, depending on Ruby version, this can include loopback, RFC1918 private networks, and link-local space. An attacker who controls DNS for any domain can publish an AAAA record with such a mapped address; any outbound HTTP fetch Mastodon performs against that hostname then opens a real TCP connection to the underlying IPv4 address, including 127.0.0.1 and cloud-metadata endpoints such as 169.254.169.254. This vulnerability is fixed in 4.5.10, 4.4.17, and 4.3.23.

First published (updated )
EOL
Mar 31, 2029

End of life: 3/31/2029, Latest version: 4.0.6

First published (updated )
EOL
Mar 31, 2028

End of life: 3/31/2028, Latest version: 3.4.10

First published (updated )
EOL
Mar 31, 2028

End of life: 3/31/2028, Latest version: 3.4.10

First published (updated )
EOL
Mar 31, 2027

End of life: 3/31/2027, Latest version: 3.3.12

First published (updated )
EOL
Mar 31, 2027

End of life: 3/31/2027, Latest version: 3.3.12

First published (updated )
EOL
Mar 31, 2026

End of life: 3/31/2026, Latest version: 3.2.11

First published (updated )
EOL
Mar 31, 2026

End of life: 3/31/2026, Latest version: 3.2.11

First published (updated )
Severity
1

Originally, Common Vulnerabilities and Exposures assigned an identifier of CVE-2011-1005 to the following vulnerability:

The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#tos method, as demonstrated by changing an intended pathname.

with the following upstream patch: [1] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=30903&view=revision

Based on later upstream patch for different (CVE-2012-4464 and CVE-2012-4466) issues: [2] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068

it was found that original upstream 1.8.x ruby patch for CVE-2011-1005 issue was not complete, when the NameError#tos() method was used on / with Ruby objects (the test logic in 'testtostaintnesspropagation' test from [1] was actually reversed, so the test returned success also on still vulnerable instances).

Acknowledgements:

This issue was discovered by Vit Ondruch of Red Hat.

First published (updated )
EOL
Mar 26, 2025

End of life: 3/26/2025, Latest version: 3.1.7

First published (updated )
EOL
Mar 26, 2025

End of life: 3/26/2025, Latest version: 3.1.7

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203