CVE-2022-34835

Source
https://cve.org/CVERecord?id=CVE-2022-34835
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34835.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-34835
Downstream
Related
Published
2022-06-29T23:48:51Z
Modified
2026-07-09T03:26:00.371700Z
Summary
[none]
Details

In Das U-Boot through 2022.07-rc5, an integer signedness error and resultant stack-based buffer overflow in the "i2c md" command enables the corruption of the return address pointer of the doi2cmd function.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34835.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/u-boot/u-boot

Affected ranges

Type
GIT
Repo
https://github.com/u-boot/u-boot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Fixed
Database specific
{
    "source": [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ],
    "cpe": [
        "cpe:2.3:a:denx:u-boot:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:denx:u-boot:2022.07:rc1:*:*:*:*:*:*",
        "cpe:2.3:a:denx:u-boot:2022.07:rc2:*:*:*:*:*:*",
        "cpe:2.3:a:denx:u-boot:2022.07:rc3:*:*:*:*:*:*",
        "cpe:2.3:a:denx:u-boot:2022.07:rc4:*:*:*:*:*:*",
        "cpe:2.3:a:denx:u-boot:2022.07:rc5:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2022.07"
        },
        {
            "introduced": "2022.07-rc1"
        },
        {
            "last_affected": "2022.07-rc1"
        },
        {
            "introduced": "2022.07-rc2"
        },
        {
            "last_affected": "2022.07-rc2"
        },
        {
            "introduced": "2022.07-rc3"
        },
        {
            "last_affected": "2022.07-rc3"
        },
        {
            "introduced": "2022.07-rc4"
        },
        {
            "last_affected": "2022.07-rc4"
        },
        {
            "introduced": "2022.07-rc5"
        },
        {
            "last_affected": "2022.07-rc5"
        }
    ]
}

Affected versions

2022.*
2022.07-rc1
2022.07-rc2
2022.07-rc3
2022.07-rc4
2022.07-rc5
v2022.*
v2022.07-rc1
v2022.07-rc2
v2022.07-rc3
v2022.07-rc4
v2022.07-rc5
v2022.07-rc6

Database specific

vanir_signatures_modified
"2026-07-09T03:26:00Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34835.json"
vanir_signatures
[
    {
        "id": "CVE-2022-34835-6d5967c2",
        "digest": {
            "line_hashes": [
                "100091105016660023555553360295518897339",
                "254993910775381724957448227349213901337",
                "270035180097489953994680063071177126897",
                "334907471678412928025123377302682051224",
                "301872140551709476151363916559872789665",
                "253387822215479943803129036816553239661",
                "253961501308691215341063607519768158319",
                "5429314177105493582515972480716068920",
                "296066715336484858427174626106057493004",
                "219575061841569388835091497924106951976",
                "232110455447904385407477673857144053083",
                "5429314177105493582515972480716068920",
                "296066715336484858427174626106057493004",
                "219575061841569388835091497924106951976",
                "232110455447904385407477673857144053083",
                "322806574432475430823387671535245614823",
                "70543055235158811819209304917383484445",
                "228636268218440360664859629222479928281",
                "170962440708725520537006013314983585087",
                "120743415564669861873874198191162863965",
                "156710110811220832934660386852015214870",
                "181270017957261300154995122195541239002",
                "26916343001027483550646706241978579036",
                "248262085007812613457976457112233998869",
                "214181141457365287253367011564624115473",
                "110830076168259664566391335188463444721",
                "156710110811220832934660386852015214870",
                "64422149074424848120013026321429263934",
                "256405870771541301071900999173263378582",
                "322165593044963996746694762389001279180",
                "232521399329043039745730735915100165590",
                "48321191635221706224953166075955250018",
                "12519736097872831626516529156580894718",
                "206597835879518414427620300221565502043",
                "24941289354215901040244455878127022330"
            ],
            "threshold": 0.9
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "source": "https://github.com/u-boot/u-boot/commit/8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409",
        "deprecated": false,
        "target": {
            "file": "cmd/i2c.c"
        }
    }
]