Vulnerability · Published Mar 17, 2022 · Assigned by snyk

CVE-2022-25760Arbitrary Code Injection

High 7.1

In plain English

A high-severity security flaw in accesslog. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities).

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)1.6%top 23.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmaccesslogno fix listedGHSA-8m2f-74r2-x3f2

Affected products (as reported)

VendorProductVersions
n/a accesslog 0 – before unspecified

References