CVE-2022-30330

Source
https://cve.org/CVERecord?id=CVE-2022-30330
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30330.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-30330
Published
2022-05-07T03:25:34Z
Modified
2026-10-28T10:28:21Z
Summary
[none]
Details

In the KeepKey firmware before 7.3.2,Flaws in the supervisor interface can be exploited to bypass important security restrictions on firmware operations. Using these flaws, malicious firmware code can elevate privileges, permanently make the device inoperable or overwrite the trusted bootloader code to compromise the hardware wallet across reboots or storage wipes.

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

Affected packages

Git / github.com/keepkey/keepkey-firmware

Affected ranges

Type
GIT
Repo
https://github.com/keepkey/keepkey-firmware
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "7.3.2"
                }
            ],
            "source": "DESCRIPTION"
        },
        {
            "original_tag": "v7.3.2",
            "range": [
                {
                    "fixed": "0591b1ce9f604c19a1b90bbf743f8f7606ae8722"
                }
            ],
            "source": "REFERENCES_TAG"
        },
        {
            "range": [
                {
                    "fixed": "447c1f038a31378ab9589965c098467d9ea6cccc"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

bl_v2.*
bl_v2.0.0
Other
docker-v13
docker-v3
wl_k114wlbp_v2
wl_k114wlda_v2
v1.*
v1.0.0
v1.0.0rc1
v1.0.1
v1.0.3
v1.0.5
v1.1.0
v1.2.0
v1.2.0-rc
v1.2.0-rc.1
v2.*
v2.0.11
v2.0.12
v2.0.9
v2.1.0
v2.2.0
v3.*
v3.0.18
v3.1.0
v4.*
v4.0.0
v5.*
v5.0.1
v5.1.0
v5.1.1
v5.1.2
v5.10.1
v5.11.0
v5.3.0
v5.4.1
v5.5.0
v5.9.0
v5.9.1
v6.*
v6.1.0
v6.1.1
v6.2.0
v6.2.0-hotfix.0
v6.2.2
v6.3.0
v6.4.0
v6.5.1
v6.6.0
v6.7.0
v7.*
v7.0.3
v7.1.0
v7.1.1
v7.1.2
v7.1.4
v7.1.5
v7.1.7
v7.1.8
v7.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30330.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "2175488440919962200709984043109926492",
            "length": 844
        },
        "id": "CVE-2022-30330-2b21cc1a",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/447c1f038a31378ab9589965c098467d9ea6cccc",
        "target": {
            "file": "lib/board/supervise.c",
            "function": "svhandler_flash_pgm_blk"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "294123191815334012997121978248847040035",
            "length": 477
        },
        "id": "CVE-2022-30330-433a3d61",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "tools/firmware/keepkey_main.c",
            "function": "check_bootloader"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "147400718176168823033273744957783199028",
            "length": 378
        },
        "id": "CVE-2022-30330-45e625e3",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/447c1f038a31378ab9589965c098467d9ea6cccc",
        "target": {
            "file": "lib/board/supervise.c",
            "function": "svhandler_flash_erase_sector"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "292003018493310952547530825061636564952",
            "length": 332
        },
        "id": "CVE-2022-30330-470f76da",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "tools/blupdater/main.c",
            "function": "unknown_bootloader"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "29641572549387037575170037449386670654",
                "90351566168428485052969839489003646982",
                "109805981064139712742033952538124403586",
                "256273637053120330041937433381227599851",
                "192710859636550769485310113416675032702",
                "98624662644788415642541257094785101382",
                "16574270414493955392021543220692098274",
                "331918480539466323230512888551204080694",
                "94915452252584857815289333453789116966",
                "337932621309901359297786426952353526203",
                "99892774858142246259842446038783176312",
                "190038264148202525042151031045124100131",
                "222423428767077948706731155342836050911",
                "131123513459339859388609125017948170770",
                "107807035264861166054585848593400699644",
                "110521489346300002796886011900891290652",
                "335971137423463546661840796791128676260",
                "75145831899326909117317928876284303321",
                "246287500745973530157045821945066030709",
                "267919457174892277331798688412509347721",
                "108932907895777618155969693534568254258",
                "127488290477582227529328332790036969444",
                "180709637066979179140326808535063951872",
                "292758913898538435804861871132083154496",
                "27050595343201673094857098809862135065",
                "232691050008983863559813218107812659347",
                "228118485141673566814319665947167730000",
                "337932621309901359297786426952353526203",
                "57270457526462591065813813257444681214",
                "72653186805995456126410256919684486202",
                "14321248160902716311140277529623063650",
                "108762543306025290158533174130965456227",
                "56412888730695832270459885834088826268",
                "126304014116924971311747674592623063530",
                "274850624392953866356017337094986781487",
                "46070555563952559983565653287650787177",
                "146932777387213178024559226728486069706",
                "245131716010307424220577958273501096261",
                "337932621309901359297786426952353526203",
                "97704738901609735344842040961629834763"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-48fb50d1",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/447c1f038a31378ab9589965c098467d9ea6cccc",
        "target": {
            "file": "lib/board/supervise.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "195549427029382092861653615308978722034",
            "length": 496
        },
        "id": "CVE-2022-30330-497c0c2c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/447c1f038a31378ab9589965c098467d9ea6cccc",
        "target": {
            "file": "lib/board/supervise.c",
            "function": "svhandler_flash_pgm_word"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "116830319557477195367067723787426946390",
            "length": 1609
        },
        "id": "CVE-2022-30330-4bd28af0",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "lib/board/check_bootloader.c",
            "function": "get_bootloaderKind"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "44611891952244110137375183281031675443",
                "285428054455441636551810293750827266429",
                "238945426805892685539688189408648265507",
                "275047964691103085612777863797520235928"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-6362b26e",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "tools/blupdater/main.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "44611891952244110137375183281031675443",
                "312802404481325664305582578438073565422",
                "206495168246894855798233768397014041279",
                "191737711206465611254906142848055955884"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-9d9d19a1",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "lib/board/keepkey_flash.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "100486001065654198556583097111432050866",
                "324704991906621117028231293143300007857",
                "289206258741950998795293187606917836369",
                "160740731416919829693198335420396944711",
                "83245503881923196889459922263061078844",
                "275628103680180835140189982885236430416",
                "233408394917263064509023569219007779968",
                "225687162349266686323325860628937650243",
                "314150643277007710007947557131622118644"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-9e728fbb",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "tools/firmware/keepkey_main.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "107269180900077278528261167648131053723",
            "length": 777
        },
        "id": "CVE-2022-30330-a912fc20",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "lib/board/keepkey_flash.c",
            "function": "flash_programModel"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "188621247341080256233441335575939154225",
                "259373863761664844412612366561944438166",
                "282212781327136127667729445878463542616",
                "309067033668450140011323100507921825959",
                "303948376131732361393495404646008295580",
                "183883622822530225792083245797793737027",
                "336312453251804640968890216457717990935"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-cf8739b9",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "lib/board/check_bootloader.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "166170415739160617500600119944133374065",
                "211746958265260322046587769297945740896",
                "263317472117347925626166367616046917449",
                "293323260150058115567354305275795986022",
                "159520476636501467449652118052637211635",
                "251048974044874976237070641682657099010",
                "210163504328892399685724825243540497966",
                "157785186458539734999334610881965610621"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-30330-eb733228",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/keepkey/keepkey-firmware/commit/0591b1ce9f604c19a1b90bbf743f8f7606ae8722",
        "target": {
            "file": "include/keepkey/board/check_bootloader.h"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:28:21Z"