vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2023-31130 (Medium) detected in c-aresc-ares-1.15.0 #218

Open mend-bolt-for-github[bot] opened 1 year ago

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

CVE-2023-31130 - Medium Severity Vulnerability

Vulnerable Library - c-aresc-ares-1.15.0

A C library for asynchronous DNS requests.

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

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerable Source Files (2)

/utility-emissions-channel/typescript_app/node_modules/grpc/deps/grpc/third_party/cares/cares/inet_net_pton.c /utility-emissions-channel/typescript_app/node_modules/grpc/deps/grpc/third_party/cares/cares/inet_net_pton.c

Vulnerability Details

c-ares is an asynchronous resolver library. ares_inet_net_pton() is vulnerable to a buffer underflow for certain ipv6 addresses, in particular "0::00:00:00/2" was found to cause an issue. C-ares only uses this function internally for configuration purposes which would require an administrator to configure such an address via ares_set_sortlist(). However, users may externally use ares_inet_net_pton() for other purposes and thus be vulnerable to more severe issues. This issue has been fixed in 1.19.1.

Publish Date: 2023-05-25

URL: CVE-2023-31130

CVSS 3 Score Details (6.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: High - 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://github.com/c-ares/c-ares/security/advisories/GHSA-x6mf-cxr9-8q6v

Release Date: 2023-04-25

Fix Resolution: cares-1_19_1


Step up your Open Source Security Game with Mend here