PUB-A-240266798

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-240266798.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-240266798
Aliases
  • A-240266798
  • CVE-2022-20546
Published
2022-12-01T00:00:00Z
Modified
2026-09-22T15:22:15Z
Summary
[none]
Details

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.

References

Affected packages

Android / platform/hardware/interfaces

Affected ranges

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

Affected versions

Other
13

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c"
    ],
    "severity":  "Moderate",
    "spl":  "2022-12-01",
    "types":  [
        "EoP"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "53844497502970601632387388703358335121",
                "length":  403
            },
            "id":  "PUB-A-240266798-96b7e3d9",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c",
            "target":  {
                "file":  "audio/effect/all-versions/default/Effect.cpp",
                "function":  "Effect::getCurrentConfigImpl"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "279941343797890730238251587093866932818",
                    "71219947459818610146821922556310933151",
                    "214546316845681876649855276849560106011",
                    "161415415979714513961513579240668309442",
                    "28222962811485188659592534407920468255",
                    "305087178599056244762883241995225987687",
                    "60363030077593512272284861905328362714",
                    "126825534746707482653455498858936309527",
                    "338812742518812513955274817744275973075",
                    "330972832968183085815186410577251821868"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-240266798-ab2e297c",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c",
            "target":  {
                "file":  "audio/effect/all-versions/default/Effect.cpp"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "164162307407575518265367862378908617823",
                "length":  605
            },
            "id":  "PUB-A-240266798-b80dbb4e",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c",
            "target":  {
                "file":  "audio/effect/all-versions/default/Effect.cpp",
                "function":  "Effect::getSupportedConfigsImpl"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "242258789558722412012115056907005020090",
                    "321649089408511517569535680318068427929",
                    "321910037615496718996072591622122677450"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-240266798-c99f22d6",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c",
            "target":  {
                "file":  "audio/effect/all-versions/default/Effect.h"
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "299402435633257992468041126680997337751",
                    "106041305466996257860774793257578383670",
                    "114676062330246962598388985823165248094"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-240266798-fd0cf1c8",
            "match_only_versions":  [
                "13"
            ],
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/platform/hardware/interfaces/+/8e3480edfe9933306f82c1656deb8e6b7090273c",
            "target":  {
                "file":  "audio/effect/all-versions/vts/functional/VtsHalAudioEffectTargetTest.cpp"
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-240266798.json"