CVE-2021-37848

Source
https://cve.org/CVERecord?id=CVE-2021-37848
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37848.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-37848
Published
2021-08-02T20:15:08.303Z
Modified
2026-07-09T00:21:03.987491Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

common/password.c in Pengutronix barebox through 2021.07.0 leaks timing information because strncmp is used during hash comparison.

References

Affected packages

Git / github.com/barebox/barebox

Affected ranges

Type
GIT
Repo
https://github.com/barebox/barebox
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
Show details
{
    "cpe": "cpe:2.3:a:pengutronix:barebox:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2021.07.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v2009.*
v2009.12.0
v2010.*
v2010.02.0
v2010.03.0
v2010.04.0
v2010.05.0
v2010.06.0
v2010.07.0
v2010.08.0
v2010.09.0
v2010.10.0
v2010.11.0
v2010.12.0
v2011.*
v2011.01.0
v2011.02.0
v2011.03.0
v2011.04.0
v2011.05.0
v2011.06.0
v2011.07.0
v2011.08.0
v2011.09.0
v2011.10.0
v2011.11.0
v2011.12.0
v2012.*
v2012.01.0
v2012.02.0
v2012.03.0
v2012.04.0
v2012.05.0
v2012.06.0
v2012.07.0
v2012.08.0
v2012.09.0
v2012.10.0
v2012.11.0
v2012.12.0
v2013.*
v2013.01.0
v2013.02.0
v2013.03.0
v2013.04.0
v2013.05.0
v2013.06.0
v2013.07.0
v2013.08.0
v2013.09.0
v2013.10.0
v2013.11.0
v2013.12.0
v2014.*
v2014.01.0
v2014.02.0
v2014.03.0
v2014.04.0
v2014.05.0
v2014.06.0
v2014.07.0
v2014.08.0
v2014.09.0
v2014.10.0
v2014.11.0
v2014.12.0
v2015.*
v2015.01.0
v2015.02.0
v2015.03.0
v2015.04.0
v2015.05.0
v2015.06.0
v2015.07.0
v2015.08.0
v2015.09.0
v2015.10.0
v2015.11.0
v2015.12.0
v2016.*
v2016.01.0
v2016.02.0
v2016.03.0
v2016.04.0
v2016.05.0
v2016.06.0
v2016.07.0
v2016.08.0
v2016.09.0
v2016.10.0
v2016.11.0
v2017.*
v2017.01.0
v2017.02.0
v2017.03.0
v2017.04.0
v2017.05.0
v2017.06.0
v2017.07.0
v2017.08.0
v2017.09.0
v2017.10.0
v2017.11.0
v2017.12.0
v2018.*
v2018.01.0
v2018.02.0
v2018.03.0
v2018.04.0
v2018.05.0
v2018.06.0
v2018.07.0
v2018.08.0
v2018.09.0
v2018.10.0
v2018.11.0
v2018.12.0
v2019.*
v2019.01.0
v2019.02.0
v2019.03.0
v2019.04.0
v2019.05.0
v2019.06.0
v2019.07.0
v2019.08.0
v2019.09.0
v2019.10.0
v2019.11.0
v2019.12.0
v2020.*
v2020.01.0
v2020.02.0
v2020.03.0
v2020.04.0
v2020.05.0
v2020.06.0
v2020.07.0
v2020.08.0
v2020.09.0
v2020.10.0
v2020.11.0
v2020.12.0
v2021.*
v2021.01.0
v2021.02.0
v2021.03.0
v2021.05.0
v2021.06.0
v2021.07.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37848.json"

Git / github.com/saschahauer/barebox

Affected ranges

Type
GIT
Repo
https://github.com/saschahauer/barebox
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Database specific

vanir_signatures_modified
"2026-07-09T00:21:03Z"
vanir_signatures
[
    {
        "id": "CVE-2021-37848-00cbff65",
        "deprecated": false,
        "signature_type": "Line",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "286483416564148237014664334187897996842",
                "82341561494851006650848126628061910030",
                "160300210200201742434445603001761179386",
                "331255837984390417579900180276178061273",
                "71206244788899728916889356691555085839",
                "256458294048974650112929662464190582585",
                "333251219697399135318302262459666338848",
                "183776022809160989712221249666787241014",
                "254544937353092481425502287652833645885",
                "77921965859436756916281033906327323109",
                "230797779611143726437514116441912154259",
                "32386485479158884066927671304407540509"
            ]
        },
        "source": "https://github.com/saschahauer/barebox/commit/a3337563c705bc8e0cf32f910b3e9e3c43d962ff",
        "target": {
            "file": "common/password.c"
        }
    },
    {
        "id": "CVE-2021-37848-63c8d193",
        "deprecated": false,
        "signature_type": "Function",
        "signature_version": "v1",
        "digest": {
            "length": 1171.0,
            "function_hash": "90977046801678930462450758757847571578"
        },
        "source": "https://github.com/saschahauer/barebox/commit/a3337563c705bc8e0cf32f910b3e9e3c43d962ff",
        "target": {
            "function": "check_passwd",
            "file": "common/password.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-37848.json"