ASB-A-300007708

See a problem?
Import Source
https://storage.googleapis.com/android-osv/ASB-A-300007708.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-300007708
Aliases
  • A-300007708
  • CVE-2024-0040
Published
2024-02-01T00:00:00Z
Modified
2024-08-07T19:29:45.851134Z
Summary
mtp_packet_fuzzer: Heap-buffer-overflow in android::MtpPacket::copyFrom
Details

In setParameter of MtpPacket.cpp, there is a possible out of bounds read due to a heap buffer overflow. This could lead to remote information disclosure with no additional execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / platform/frameworks/av

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14-next:0
Fixed
14-next:2024-02-01

Affected versions

Other

14-next

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-19e620ae",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-b36b90c3",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/e1494a2d8e7eee25d7ea5469be43740e97294c99"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/frameworks/av

Affected ranges

Type
ECOSYSTEM
Events
Introduced
11:0
Fixed
11:2024-02-01

Affected versions

Other

11

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-67bf0cf2",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-f84b2cc9",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/edf60c63243903b9f27f58f4954c599470d011fd"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/frameworks/av

Affected ranges

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

Affected versions

Other

12

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-1a3ba7bc",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-f2c6a8ec",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/55757c291af9c88bf829e01fda90e626f6ff06eb"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/frameworks/av

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2024-02-01

Affected versions

Other

12L

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-344ed643",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-7fec4db4",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/d5d10d821f05e8d03104921c4320d9739c0c475f"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/frameworks/av

Affected ranges

Type
ECOSYSTEM
Events
Introduced
13:0
Fixed
13:2024-02-01

Affected versions

Other

13

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-a3fce1cd",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-af900d65",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/960d83c60805bd0991e02cd72224a4063097af89"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}

Android / platform/frameworks/av

Affected ranges

Type
ECOSYSTEM
Events
Introduced
14:0
Fixed
14:2024-02-01

Affected versions

Other

14

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 372.0,
                "function_hash": "258562940385383442331892322260107070213"
            },
            "id": "ASB-A-300007708-2054454b",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp",
                "function": "MtpPacket::setParameter"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "325429838327676121080075683515326448065",
                    "129768529294241399848549271647519954458",
                    "334674666946550792711235234589636658088",
                    "25817773784128918456096976811635035555",
                    "178465013067266614784176939361293545155"
                ]
            },
            "id": "ASB-A-300007708-8f2f84c7",
            "source": "https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "media/mtp/MtpPacket.cpp"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/platform/frameworks/av/+/38852806102bb7e9d46f4b0de8a3b4918d625ad4"
    ],
    "spl": "2024-02-01",
    "severity": "High",
    "types": [
        "ID"
    ]
}