#VU59833 Information disclosure in nanoid - CVE-2021-23566


Vulnerability identifier: #VU59833

Vulnerability risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-23566

CWE-ID: CWE-200

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
nanoid
Web applications / Modules and components for CMS

Vendor: Andrey Sitnik

Description

The vulnerability allows a local attacker to gain access to potentially sensitive information.

The vulnerability exists due to excessive data output by the application in the valueOf() function. A local attacker can gain unauthorized access to sensitive information on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

nanoid: 0.1.0 - 3.1.30


External links
https://github.com/ai/nanoid/pull/328
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2332550
https://gist.github.com/artalar/bc6d1eb9a3477d15d2772e876169a444
https://snyk.io/vuln/SNYK-JS-NANOID-2332193
https://github.com/ai/nanoid/commit/2b7bd9332bc49b6330c7ddb08e5c661833db2575


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability