Bug 2510944 - CVE-2026-69198 rust: ip-address: Server-Side Request Forgery (SSRF) and trust-boundary bypass [fedora-all]
Summary: CVE-2026-69198 rust: ip-address: Server-Side Request Forgery (SSRF) and trust...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rust
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Josh Stone
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["0afb3d67-e749-456a-bc9e-f...
Depends On:
Blocks: CVE-2026-69198
TreeView+ depends on / blocked
 
Reported: 2026-08-04 10:59 UTC by Matteo Signorini
Modified: 2026-08-04 19:12 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-04 19:12:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matteo Signorini 2026-08-04 10:59:23 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. From 10.1.1 until 10.2.2, every special-use classification method is built on isInSubnet, which short-circuits to false whenever the address's own subnet mask is shorter than the reference range's mask. That mask comes verbatim from the CIDR suffix on the parsed input, so appending a suffix such as /0 suppresses classification entirely: isLoopback(), isPrivate(), isLinkLocal(), isCGNAT(), isMulticast(), isUnspecified(), isBroadcast(), isULA(), and getType() all report an internal address as unremarkable, while correctForm() and address still return the real internal target. An application that builds a network trust-boundary decision on these checks, for example a filter intended to block Server-Side Request Forgery, or SSRF, may therefore treat an internal target as external and allow the request. The underlying bit comparison is correct, and mask(n) already returns the first n bits of the full parsed address independently of subnetMask; the defect is solely that the containment guard sits in the classification path. This issue is fixed in version 10.2.2.

Comment 1 Josh Stone 2026-08-04 19:12:44 UTC
This javascript package is only mentioned in lockfiles in the rust source tarball, but the code is not present.


Note You need to log in before you can comment on or make changes to this bug.