6.3 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): Low (L)
- Subsequent System Impact Integrity (SI): Low (L)
- Subsequent System Impact Availability (SA): Low (L)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Low (L)
- Modified Subsequent System Impact Integrity (MSI): Low (L)
- Modified Subsequent System Impact Availability (MSA): Low (L)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @erictapen Activity log
- Created suggestion
-
@erictapen
ignored
5 packages
- bitlbee-mastodon
- mastodon-archive
- python313Packages.mastodon-py
- python314Packages.mastodon-py
- wordpressPackages.plugins.simple-mastodon-verification
- @erictapen dismissed
Mastodon: SSRF Protection Bypass via IPv4-compatible IPv6 Addresses
Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1, PrivateAddressCheck.private_address? in app/lib/private_address_check.rb normalized IPv4-mapped IPv6 addresses but did not recognize IPv4-compatible IPv6 addresses with IPAddr#ipv4_compat?. An attacker could supply an address in the omitted range to bypass the ALLOWED_PRIVATE_ADDRESSES protection and make Mastodon send HTTP requests to loopback interfaces, potentially accessing private resources and services. Exploitation requires a system that supports the obsolete IPv4-compatible IPv6 mechanism. This issue is fixed in versions 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1.
References
-
https://github.com/mastodon/mastodon/security/advisories/GHSA-vwhj-3g83-v276 x_refsource_CONFIRM
-
https://github.com/mastodon/mastodon/releases/tag/v4.4.21 x_refsource_MISC
-
https://github.com/mastodon/mastodon/releases/tag/v4.5.14 x_refsource_MISC
-
https://github.com/mastodon/mastodon/releases/tag/v4.6.4 x_refsource_MISC
-
https://github.com/mastodon/mastodon/releases/tag/v4.7.0-beta.1 x_refsource_MISC
Affected products
- ==< 4.4.21
- ==>= 4.6.0-beta.1, < 4.6.4
- ==>= 4.5.0-beta.1, < 4.5.14
Matching in nixpkgs
Ignored packages (5)
pkgs.bitlbee-mastodon
Bitlbee plugin for Mastodon
pkgs.mastodon-archive
Utility for backing up your Mastodon content
pkgs.python313Packages.mastodon-py
Python wrapper for the Mastodon API
pkgs.python314Packages.mastodon-py
Python wrapper for the Mastodon API
Package maintainers
-
@erictapen Kerstin Humm <kerstin@erictapen.name>
-
@happy-river Happy River <happyriver93@runbox.com>
-
@Izorkin Yurii Izorkin <Izorkin@gmail.com>