Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-20138

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-20138
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:39 UTC · Revision 1

Source evidence

CVE-2019-20138

core-osv · Original source

Published 30 Dec 2019, 14:15 UTC

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.

osv:CVE-2019-20138
Complete source record
{
  "id": "6aeabbbf34dca7d1eb40c0d606f73239e4ee8f324c819c24807120e7609cfb3c",
  "url": "https://osv.dev/vulnerability/CVE-2019-20138",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-20138",
    "summary": "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.",
    "evidence": "osv:CVE-2019-20138",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-20138",
      "aliases": [
        "CVE-2019-20138"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/federicoceratto/nim-httpauth",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "15fd0686dc363075c08976ad897d6c92e1e6283c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "15fd0686dc363075c08976ad897d6c92e1e6283c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.1.3",
            "0.1.2",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-20138.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:52.671507261Z",
      "provider": "osv",
      "references": [
        "https://github.com/FedericoCeratto/nim-httpauth/commit/15fd0686dc363075c08976ad897d6c92e1e6283c"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:http_authentication_library_project:http_authentication_library:*:*:*:*:*:nim:*:*"
            ],
            "vendor_product": "http_authentication_library_project:http_authentication_library",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2019-12-27"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2019-12-27"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2019-20138",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382304,
  "published_at": "2019-12-30T14:15:14.717+00:00"
}