Advisory Published
Updated

CVE-2021-29922

First published: Sat Aug 07 2021(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Rust-lang Rust<1.53.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-29922?

    CVE-2021-29922 is a vulnerability in Rust that allows attackers to bypass access control based on IP addresses.

  • What is the severity of CVE-2021-29922?

    CVE-2021-29922 has a severity rating of 9.1 (critical).

  • How does CVE-2021-29922 work?

    CVE-2021-29922 occurs due to Rust not properly considering extraneous zero characters at the beginning of an IP address string, leading to unexpected octal interpretation and potential bypass of IP-based access control.

  • Which software is affected by CVE-2021-29922?

    Rust versions before 1.53.0 are affected by CVE-2021-29922.

  • How can I fix CVE-2021-29922?

    To fix CVE-2021-29922, update Rust to version 1.53.0 or later.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203