Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807052 (CVE-2021-29922) - <dev-lang/rust{-bin,}-1.53.0: octal IP address format confusion (CVE-2021-29922)
Summary: <dev-lang/rust{-bin,}-1.53.0: octal IP address format confusion (CVE-2021-29922)
Status: CONFIRMED
Alias: CVE-2021-29922
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B4 [glsa? cleanup]
Keywords:
Depends on: 803335
Blocks:
  Show dependency tree
 
Reported: 2021-08-07 22:39 UTC by John Helmert III
Modified: 2021-09-07 01:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III gentoo-dev Security 2021-08-07 22:39:00 UTC
CVE-2021-29922 (https://github.com/rust-lang/rust/pull/83652):

library/std/src/net/parser.rs in Rust before 1.53.0 does not properly consider extraneous zero characters at the beginning of an IP address string, which (in some situations) allows attackers to bypass access control that is based on IP addresses, because of unexpected octal interpretation.