CVE-2024-56921

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-56921
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56921.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56921
Published
2025-02-03T20:15:33Z
Modified
2025-10-22T06:42:12.447837Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Open5gs v2.7.2. InitialUEMessage, Registration request sent at a specific time can crash AMF due to incorrect error handling of gmmstateexception() function upon receipt of the NausfUEAuthenticationAuthenticate response.

References

Affected packages

Git / github.com/open5gs/open5gs

Affected ranges

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

Affected versions

v0.*

v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.3.1
v0.3.10
v0.3.11
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.4.4
v0.5.0
v0.5.1
v0.5.2

v1.*

v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.3.0

v2.*

v2.0.0
v2.0.18
v2.0.22
v2.1.0
v2.1.1
v2.1.3
v2.1.4
v2.1.5
v2.1.7
v2.2.0
v2.2.1
v2.2.6
v2.2.7
v2.2.8
v2.2.9
v2.3.0
v2.3.1
v2.3.2
v2.3.6
v2.4.0
v2.4.1
v2.4.3
v2.4.4
v2.4.5
v2.4.7
v2.4.8
v2.4.9
v2.6.1
v2.6.2
v2.6.3
v2.6.4
v2.6.6
v2.7.0
v2.7.1
v2.7.2

Database specific

vanir_signatures

[
    {
        "deprecated": false,
        "source": "https://github.com/open5gs/open5gs/commit/f780f9af45c27b6f49987d96ba71dedb3dd85840",
        "id": "CVE-2024-56921-1156fbde",
        "signature_version": "v1",
        "target": {
            "file": "src/amf/gmm-sm.c"
        },
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "329928212348722115459337753229020731516",
                "303401551557704871680702613292621985809",
                "28866856782458372153922604732198695952",
                "74156798815881509603091226286188191154"
            ],
            "threshold": 0.9
        }
    },
    {
        "deprecated": false,
        "source": "https://github.com/open5gs/open5gs/commit/f780f9af45c27b6f49987d96ba71dedb3dd85840",
        "id": "CVE-2024-56921-ea8114b9",
        "signature_version": "v1",
        "target": {
            "function": "gmm_state_exception",
            "file": "src/amf/gmm-sm.c"
        },
        "signature_type": "Function",
        "digest": {
            "function_hash": "157547459946615711404643052366168327784",
            "length": 5968.0
        }
    }
]