SecurityContext

CVE-2019-20138: Nim HTTP Authentication - Weak Password Hashing

  • Cve: CVE-2019-20138
  • Name: Nim HTTP Authentication - Weak Password Hashing
  • Description: The HTTP Authentication library before 2019-12-27 for Nim has weak password hashing because the default algorithm for libsodium's crypto_pwhash_str is not used.
  • Impact: Attackers can potentially crack weak password hashes, leading to unauthorized account access.
  • Remediation: Update to a version that uses libsodium's default crypto_pwhash_str algorithm or apply patches that enforce strong hashing.
  • Vulnerability type: weak_cryptography
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00832
  • Epss percentile: 0.58536
  • Assignee: [email protected]
  • Published at: 2019-12-30T14:15:14Z
  • Age in days: 2521
  • Modified at: 2026-06-17T02:29:59Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-20138
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-327Use of a Broken or Risky Cryptographic Algorithm

References

UrlSourceTags
https://github.com/FedericoCeratto/nim-httpauth/commit/15fd0686dc363075c08976ad897d6c92e1e6283cnvdPatch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
http_authentication_library_project:http_authentication_library< 2019-12-27nonvd/v1/products/http_authentication_library_project/http_authentication_library

Projects

RepositoryLink kindsIndexedUrl
FedericoCeratto/nim-httpauthcommit, fixyes/v1/repositories/FedericoCeratto/nim-httpauth

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts