turkdevops / node

Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:
https://nodejs.org/
Other
0 stars 0 forks source link

CVE-2021-22931 (Critical) detected in c-aresc-ares-1.16.0 #331

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-22931 - Critical Severity Vulnerability

Vulnerable Library - c-aresc-ares-1.16.0

A C library for asynchronous DNS requests.

Library home page: https://c-ares.haxx.se/?wsslib=c-ares

Found in HEAD commit: 034a6d9c041d2f56d0c835c69088ea8b954f0b5f

Found in base branch: master

Vulnerable Source Files (12)

/deps/cares/src/ares_expand_name.c /deps/cares/src/ares_expand_string.c /deps/cares/src/ares_free_hostent.c /deps/cares/src/ares_parse_ptr_reply.c /deps/cares/src/ares_init.c /deps/cares/src/ares__sortaddrinfo.c /deps/cares/src/ares_parse_soa_reply.c /deps/cares/src/ares_parse_naptr_reply.c /deps/cares/src/ares_init.c /deps/cares/src/ares_parse_ptr_reply.c /deps/cares/src/ares_parse_ns_reply.c /deps/cares/src/ares_expand_name.c

Vulnerability Details

Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

Publish Date: 2021-08-16

URL: CVE-2021-22931

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22931

Release Date: 2021-08-16

Fix Resolution: v12.22.4, v14.17.4, v16.6.2


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.