Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ssrf-agent
  4. ›
  5. CVE-2021-23718

CVE-2021-23718: Server-Side Request Forgery (SSRF)

November 22, 2021 (updated December 15, 2021)

The package ssrf-agent is vulnerable to Server-side Request Forgery (SSRF) via the defaultIpChecker function. It fails to properly validate if the IP requested is private.

References

  • github.com/welefen/ssrf-agent/blob/cec2b85fe8886ad6926a247a3e059d8369ec022b/index.js%23L13
  • nvd.nist.gov/vuln/detail/CVE-2021-23718
  • snyk.io/vuln/SNYK-JS-SSRFAGENT-1584362

Code Behaviors & Features

Detect and mitigate CVE-2021-23718 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.0.5

Fixed versions

  • 1.0.5

Solution

Upgrade to version 1.0.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

npm/ssrf-agent/CVE-2021-23718.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.