CWE
918
Advisory Published
CVE Published
Updated

CVE-2022-35949: `undici.request` vulnerable to SSRF using absolute URL on `pathname`

First published: Tue Aug 09 2022(Updated: )

A Server-Side Request Forgery (SSRF) vulnerability was found in undici, a HTTP/1.1 client for Node.js. An attacker can manipulate the server-side application to make requests to an unintended location when they use the 'path/pathname' option in 'undici.request'.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Nodejs Undici<=5.8.1

Remedy

Validate user input before passing it to the `undici.request` call.

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-2022-35949?

    CVE-2022-35949 is a Server-Side Request Forgery (SSRF) vulnerability found in undici, an HTTP/1.1 client for Node.js.

  • How does CVE-2022-35949 affect undici?

    CVE-2022-35949 affects undici when an application takes user input into the 'path/pathname' option of undici.request, allowing SSRF.

  • What is the severity of CVE-2022-35949?

    The severity of CVE-2022-35949 is medium with a CVSS score of 5.3.

  • Which versions of undici are affected by CVE-2022-35949?

    undici version up to and excluding 5.8.2 are affected by CVE-2022-35949.

  • How do I fix CVE-2022-35949?

    To fix CVE-2022-35949, upgrade your undici package to version 5.8.2 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