Path Traversal Affecting @jmondi/url-to-png package, versions <2.0.3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (18th percentile)

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 IDSNYK-JS-JMONDIURLTOPNG-7244621
  • published11 Jun 2024
  • disclosed10 Jun 2024
  • credittimoxoszt

Introduced: 10 Jun 2024

CVE-2024-37169  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade @jmondi/url-to-png to version 2.0.3 or higher.

Overview

@jmondi/url-to-png is a Start with a url, end up with a png. The Module.

Affected versions of this package are vulnerable to Path Traversal in the .env file on the server, which contains AWS access keys for an administrative user. These keys grant full access to critical AWS services like S3 and EC2. An attacker can read arbitrary files by exploiting the file wrapper.

CVSS Scores

version 3.1