MidnightBSD / security-advisory

A rest api to pull NVD security advisory data and formulate it for mport consumption
BSD 2-Clause "Simplified" License
1 stars 2 forks source link

CVE-2022-41915 (Medium) detected in netty-codec-http-4.1.85.Final.jar - autoclosed #132

Closed mend-bolt-for-github[bot] closed 1 year ago

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

CVE-2022-41915 - Medium Severity Vulnerability

Vulnerable Library - netty-codec-http-4.1.85.Final.jar

Library home page: https://netty.io/

Path to dependency file: /pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/io/netty/netty-codec-http/4.1.85.Final/netty-codec-http-4.1.85.Final.jar

Dependency Hierarchy: - spring-boot-starter-data-elasticsearch-2.6.14.jar (Root Library) - spring-data-elasticsearch-4.3.10.jar - transport-netty4-client-7.15.2.jar - :x: **netty-codec-http-4.1.85.Final.jar** (Vulnerable Library)

Found in HEAD commit: 270465e4bf74e87253e9245ca2e1fc7ed83b0cbb

Found in base branch: master

Vulnerability Details

Netty project is an event-driven asynchronous network application framework. Starting in version 4.1.83.Final and prior to 4.1.86.Final, when calling `DefaultHttpHeadesr.set` with an _iterator_ of values, header value validation was not performed, allowing malicious header values in the iterator to perform HTTP Response Splitting. This issue has been patched in version 4.1.86.Final. Integrators can work around the issue by changing the `DefaultHttpHeaders.set(CharSequence, Iterator)` call, into a `remove()` call, and call `add()` in a loop over the iterator of values. Mend Note: After conducting further research, Mend has determined that versions 4.1.80.Final up to and including 4.1.85.Final of netty-codec-http are vulnerable to CVE-2022-41915.

Publish Date: 2022-12-13

URL: CVE-2022-41915

CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-hh82-3pmq-7frp

Release Date: 2022-12-13

Fix Resolution (io.netty:netty-codec-http): 4.1.86.Final

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-data-elasticsearch): 2.7.0


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.

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.