{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2021.07.0"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2021.07.0"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a3337563c705bc8e0cf32f910b3e9e3c43d962ff"
            }
          ],
          "repo": "https://github.com/saschahauer/barebox",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a3337563c705bc8e0cf32f910b3e9e3c43d962ff"
            }
          ],
          "repo": "https://github.com/saschahauer/barebox",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "common/password.c in Pengutronix barebox through 2021.07.0 leaks timing information because strncmp is used during hash comparison.",
  "id": "CVE-2021-37848",
  "modified": "2026-03-13T21:57:29.321341794Z",
  "published": "2021-08-02T20:15:08.303Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/saschahauer/barebox/commit/a3337563c705bc8e0cf32f910b3e9e3c43d962ff"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/gquere/816dfadbad98745090034100a8a651eb"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}