Server-side request forgery (SSRF) Affecting ec2-metadata package, versions [,2.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side request forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-EC2METADATA-569069
  • published13 May 2020
  • disclosed12 Mar 2019
  • creditUnknown

Introduced: 12 Mar 2019

CVE NOT AVAILABLE CWE-918  (opens in a new tab)

How to fix?

Upgrade ec2-metadata to version 2.2.0 or higher.

Overview

ec2-metadata is an interface to query the EC2 metadata API (version 2), with caching.

Affected versions of this package are vulnerable to Server-side request forgery (SSRF) due to using an insecure instance of Metadata Service.

References

CVSS Base Scores

version 3.1