ASB-A-206718630

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-206718630.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-206718630
Aliases
  • A-206718630
  • CVE-2021-39671
Published
2022-02-01T00:00:00Z
Modified
2024-08-07T19:29:33.275495Z
Summary
[AIDL] uninitialized memory read in C++ (char type field in parcelable)
Details

In code generated by aidlconstexpressions.cpp, there is a possible out of bounds read due to uninitialized data. This could lead to information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/system/tools/aidl

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12:0
Fixed
12:2022-02-01

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "52682189339011925055107093468470359683",
                    "271237814946378536818575490250964548989",
                    "264589793234930371795323703688946977276",
                    "324020219563643760842584856695035496879",
                    "86567373114576004533496073509851056937",
                    "30313307459292198522211462645700117834",
                    "171802658593258336312431584664288961297",
                    "144242027324137949950930127037517828891",
                    "110261878933986473451967859119161604052"
                ]
            },
            "id": "ASB-A-206718630-22d714db",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_language.h"
            },
            "signature_type": "Line"
        },
        {
            "match_only_versions": [
                "12"
            ],
            "digest": {
                "length": 104.0,
                "function_hash": "338633911347511692108095469515367765521"
            },
            "id": "ASB-A-206718630-845b89f5",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_const_expressions.cpp",
                "function": "isValidLiteralChar"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "307217810864960581887163899891123762906",
                    "176614151928675383881405433351664568893",
                    "320255326471215043730033285699593620622",
                    "23816766349281416000103976278125118042",
                    "165692089278096772489487171822110134273",
                    "229716952883029073652876170908559567786",
                    "100104840367404524360117920990832644966",
                    "318521376661667884028783769421242570350",
                    "178149971857495623519670929429578277286",
                    "189879789102588478246572242075546520433",
                    "196598285596218895544107923701480709860",
                    "88546454614338281665306229707501941878",
                    "49429027636308306343614832843669791531",
                    "294902345674570590598140402318780124196",
                    "199610397478802984766553706366215253041",
                    "335139374853815629617608670963705909482",
                    "262441084284870275944945159997162735656",
                    "115268583030929142738600603528730599666",
                    "3410817456643409818358943335077900388",
                    "43348274367360773344293365595685730539",
                    "173591886123993615582095870295278609050",
                    "45233191071041762476095369164380207571",
                    "160543231450431129906542621484489709208",
                    "65189843060806641320309860495865467558",
                    "300789085203248183894935965204714945762",
                    "130966990182467018960222985979421427164",
                    "178140823675072142960081979891345857724",
                    "95441386765546138307562248500517569289",
                    "47698933055606343849627485327898082889",
                    "92532202803981862487635409958537607416",
                    "289341393342293079130134084820875971747",
                    "114386058170280874996962120325119399822",
                    "63582951778449253873161662107280147850",
                    "61247953170052349436554270158880179335",
                    "315931407182469531295511649699633004172",
                    "182280964188548237788835845915260720395",
                    "273817599221568546687259634685797585218",
                    "100621255393200872287520020830053058067",
                    "335805436321218697023511197767692940310",
                    "59523997096121479327750156292632778332",
                    "189005025529437005955749403457628088654"
                ]
            },
            "id": "ASB-A-206718630-8dda7eb2",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_const_expressions.cpp"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 319.0,
                "function_hash": "282162829013269395491391507033391609680"
            },
            "id": "ASB-A-206718630-ba4f0342",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_const_expressions.cpp",
                "function": "AidlConstantValue::Character"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 469.0,
                "function_hash": "281423464067443248527311935324984184020"
            },
            "id": "ASB-A-206718630-bbaa9fc6",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_const_expressions.cpp",
                "function": "AidlConstantValue::Default"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 392.0,
                "function_hash": "318325632392926229838755062928866060037"
            },
            "id": "ASB-A-206718630-ceab2b11",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_const_expressions.cpp",
                "function": "AidlConstantValue::String"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "28125850071617292702190363221028455369",
                    "34380258593872219120528741262530458978",
                    "279652394793662396709192365824953803961",
                    "75035187186062317565544108686540114765"
                ]
            },
            "id": "ASB-A-206718630-dd232b46",
            "source": "https://android.googlesource.com/platform/system/tools/aidl/+/823f787a31bf7826add4104c31c76e39981a0369",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "aidl_unittest.cpp"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/system/tools/aidl/+/6466daabe5cadd58674ea2c96b7f92255834dc42",
        "https://android.googlesource.com/platform/system/tools/aidl/+/823f787a31bf7826add4104c31c76e39981a0369"
    ],
    "spl": "2022-02-01",
    "severity": "High",
    "types": [
        "EoP"
    ]
}