CVE-2017-16005 Header Forgery in http-signature

High 7.5 Published Updated

Attackers can forge HTTP request headers by swapping names without invalidating signatures, allowing request manipulation in applications using this Node.js library.

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

What is CVE-2017-16005?

CVE-2017-16005 is a high-severity vulnerability in HackerOne http-signature node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Http-signature is a "Reference implementation of Joyent's HTTP Signature Scheme". In versions <=0.9.11, http-signature signs only the header values, but not the header names. This makes http-signature vulnerable to header forgery. Thus, if an attacker can intercept a request, he can swap header names and change the meaning of the request without changing the signature.

Weakness: CWE-347, CWE-20

Which versions are affected by CVE-2017-16005?

2 open source packages ship an affected version, including http-signature. It affects 1 product.

PackageAffectedFixed in
http-signature npmAll versions0.10.0
http-signature npmAll versions0.10.0

Products include Joyent Http-Signature.

How do I fix CVE-2017-16005?

Upgrade http-signature to 0.10.0 or later.

Is CVE-2017-16005 being exploited?

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

Sources

Also known as CLSA-2026-1774570933, GHSA-q257-vv4p-fg92.

Is CVE-2017-16005 in your software?

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

Check your SBOMs for free