CVE-2019-16771 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting') in Armeria

Medium 4.8 Published Updated

Remote attackers can inject arbitrary HTTP headers via CRLF sequences in Armeria, enabling cache poisoning and XSS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-16771?

CVE-2019-16771 is a medium-severity vulnerability in LINE Armeria, published on 6 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Versions of Armeria 0.85.0 through and including 0.96.0 are vulnerable to HTTP response splitting, which allows remote attackers to inject arbitrary HTTP headers via CRLF sequences when unsanitized data is used to populate the headers of an HTTP response. This vulnerability has been patched in 0.97.0. Potential impacts of this vulnerability include cross-user defacement, cache poisoning, Cross-site scripting (XSS), and page hijacking.

Weakness: CWE-74, CWE-113

Which versions are affected by CVE-2019-16771?

4 open source packages ship an affected version, including com.linecorp.armeria:armeria. It affects 1 product.

PackageAffectedFixed in
com.linecorp.armeria:armeria MavenFrom 0.50.00.97.0
com.linecorp.armeria:armeria MavenFrom 0.50.00.97.0
com.linecorp.armeria:armeria MavenFrom 0.85.00.97.0
com.linecorp.armeria:armeria MavenFrom 0.85.00.97.0

Products include Linecorp Armeria.

How do I fix CVE-2019-16771?

Upgrade com.linecorp.armeria:armeria to 0.97.0 or later.

Is CVE-2019-16771 being exploited?

There is no known exploitation of CVE-2019-16771 in the wild and no public exploit code.

Sources

Also known as GHSA-24r8-fm9r-cpj2, GHSA-35fr-h7jr-hh86.

Is CVE-2019-16771 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free