CVE-2021-40606

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-40606
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-40606.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-40606
Downstream
Published
2022-06-28T13:15:09Z
Modified
2025-10-15T13:17:26.712267Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The gfbswrite_data function in GPAC 1.0.1 allows attackers to cause a denial of service via a crafted file in the MP4Box command.

References

Affected packages

Git / github.com/gpac/gpac

Affected ranges

Type
GIT
Repo
https://github.com/gpac/gpac
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.5.2
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.8.0
v0.9.0
v0.9.0-preview

v1.*

v1.0.0
v1.0.1

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "id": "CVE-2021-40606-00ec9c94",
        "source": "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "signature_version": "v1",
        "target": {
            "function": "gf_cfg_init",
            "file": "src/utils/os_config_init.c"
        },
        "digest": {
            "function_hash": "331609225902553284938660782849123559724",
            "length": 2924.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2021-40606-84a001c2",
        "source": "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "signature_version": "v1",
        "target": {
            "file": "src/utils/os_config_init.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "253854454906731252594870579307233588965",
                "179864446493625039430457959093405636565",
                "157047988769606476955262936216865999399",
                "25205688373900634743508465492002274847"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "id": "CVE-2021-40606-abddd526",
        "source": "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "signature_version": "v1",
        "target": {
            "function": "PrintUsage",
            "file": "applications/mp4client/main.c"
        },
        "digest": {
            "function_hash": "116287927203832314234354772323596679187",
            "length": 1136.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2021-40606-dde39a3b",
        "source": "https://github.com/gpac/gpac/commit/418db4149af78773815b5f6a7030a120037ba140",
        "signature_version": "v1",
        "target": {
            "file": "applications/mp4client/main.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "110287411499135302499254568127786275886",
                "196881605958314966606044579045527764763",
                "211928352066196418331258856473204866912",
                "280195963159516847825224043850516008460"
            ]
        },
        "deprecated": false
    }
]