7.5high

CVE-2017-16005

Header Forgery in http-signature

Also known as GHSA-q257-vv4p-fg92

Published 8 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 58%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.84% probability of exploitation in the next 30 days, higher than 58% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmhttp-signature
<0.10.0
0.10.0

Affected products

  • HackerOne http-signature node module

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-347 Improper Verification of Cryptographic Signature

References

  • github.com /joyent/node-http-signature/issues/10 · x_refsource_MISC, x_transferred
  • nodesecurity.io /advisories/318 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-16005 · advisory
  • github.com /advisories/GHSA-q257-vv4p-fg92 · advisory
  • npmjs.com /advisories/318 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.