ChoeMinji / react-16.0.0

MIT License
0 stars 0 forks source link

CVE-2017-9048 (Medium) detected in nokogiri-1.6.8.gem #122

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

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

CVE-2017-9048 - Medium Severity Vulnerability

Vulnerable Library - nokogiri-1.6.8.gem

Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's many features is the ability to search documents via XPath or CSS3 selectors.

Library home page: https://rubygems.org/gems/nokogiri-1.6.8.gem

Path to dependency file: /docs/Gemfile.lock

Path to vulnerable library: /docs/Gemfile.lock

Dependency Hierarchy: - sanitize-2.1.0.gem (Root Library) - :x: **nokogiri-1.6.8.gem** (Vulnerable Library)

Found in HEAD commit: b9bd902dad80b8b5fa55a183526357266ae47bcc

Found in base branch: master

Vulnerability Details

libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a stack-based buffer overflow. The function xmlSnprintfElementContent in valid.c is supposed to recursively dump the element content definition into a char buffer 'buf' of size 'size'. At the end of the routine, the function may strcat two more characters without checking whether the current strlen(buf) + 2 < size. This vulnerability causes programs that use libxml2, such as PHP, to crash.

Publish Date: 2017-05-18

URL: CVE-2017-9048

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

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

Release Date: 2017-05-18

Fix Resolution: 2.9.5


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 5 months 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 5 months 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.