CVE-2021-30015

Source
https://cve.org/CVERecord?id=CVE-2021-30015
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30015.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-30015
Downstream
Published
2021-04-19T20:15:14.427Z
Modified
2026-03-10T23:33:41.534065Z
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

There is a Null Pointer Dereference in function filtercore/filterpck.c:gffilterpcknewallocinternal in GPAC 1.0.1. The pid comes from function av1dmxparseflushsample, the ctx.opid maybe NULL. The result is a crash in gffilterpcknewalloc_internal.

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
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.1"
        }
    ]
}

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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30015.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "58711868154071436767150960965126598198",
            "length": 938.0
        },
        "source": "https://github.com/gpac/gpac/commit/13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec",
        "signature_type": "Function",
        "id": "CVE-2021-30015-8c801ea3",
        "target": {
            "file": "src/filters/reframe_av1.c",
            "function": "av1dmx_parse_flush_sample"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "165766728170830317054956550839990078013",
                "267444251905127156116583452213721798107",
                "303411012733722853373672359583694420871"
            ]
        },
        "source": "https://github.com/gpac/gpac/commit/13dad7d5ef74ca2e6fe4010f5b03eb12e9bbe0ec",
        "signature_type": "Line",
        "id": "CVE-2021-30015-aaf0fc37",
        "target": {
            "file": "src/filters/reframe_av1.c"
        }
    }
]