In getCurrentConfigImpl of Effect.cpp, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "match_only_versions": [ "13" ], "digest": { "length": 403.0, "function_hash": "53844497502970601632387388703358335121" }, "id": "PUB-A-240266798-96b7e3d9", "source": "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c", "deprecated": false, "signature_version": "v1", "target": { "file": "audio/effect/all-versions/default/Effect.cpp", "function": "Effect::getCurrentConfigImpl" }, "signature_type": "Function" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "279941343797890730238251587093866932818", "71219947459818610146821922556310933151", "214546316845681876649855276849560106011", "161415415979714513961513579240668309442", "28222962811485188659592534407920468255", "305087178599056244762883241995225987687", "60363030077593512272284861905328362714", "126825534746707482653455498858936309527", "338812742518812513955274817744275973075", "330972832968183085815186410577251821868" ] }, "id": "PUB-A-240266798-ab2e297c", "source": "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c", "deprecated": false, "signature_version": "v1", "target": { "file": "audio/effect/all-versions/default/Effect.cpp" }, "signature_type": "Line" }, { "match_only_versions": [ "13" ], "digest": { "length": 605.0, "function_hash": "164162307407575518265367862378908617823" }, "id": "PUB-A-240266798-b80dbb4e", "source": "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c", "deprecated": false, "signature_version": "v1", "target": { "file": "audio/effect/all-versions/default/Effect.cpp", "function": "Effect::getSupportedConfigsImpl" }, "signature_type": "Function" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "242258789558722412012115056907005020090", "321649089408511517569535680318068427929", "321910037615496718996072591622122677450" ] }, "id": "PUB-A-240266798-c99f22d6", "source": "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c", "deprecated": false, "signature_version": "v1", "target": { "file": "audio/effect/all-versions/default/Effect.h" }, "signature_type": "Line" }, { "match_only_versions": [ "13" ], "digest": { "threshold": 0.9, "line_hashes": [ "299402435633257992468041126680997337751", "106041305466996257860774793257578383670", "114676062330246962598388985823165248094" ] }, "id": "PUB-A-240266798-fd0cf1c8", "source": "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c", "deprecated": false, "signature_version": "v1", "target": { "file": "audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp" }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c" ], "spl": "2022-12-01", "severity": "Moderate", "types": [ "EoP" ] }