Menu

Star on GitHub · 3.2k

CVE-2024-36016

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: fix possible out-of-bounds in gsm0_receive() Assuming the following: - side A configures the n_gsm in basic option…

Published May 29, 2024CWE-125EPSS 0.27%

Overview

CVE-2024-36016 is a high-severity vulnerability. It was published on May 29, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

tty: n_gsm: fix possible out-of-bounds in gsm0_receive()

Assuming the following:

- side A configures the n_gsm in basic option mode

- side B sends the header of a basic option mode frame with data length 1

- side A switches to advanced option mode

- side B sends 2 data bytes which exceeds gsm->len

Reason: gsm->len is not used in advanced option mode.

- side A switches to basic option mode

- side B keeps sending until gsm0_receive() writes past gsm->buf

Reason: Neither gsm->state nor gsm->len have been reset after

reconfiguration.

Fix this by changing gsm->count to gsm->len comparison from equal to less

than. Also add upper limit checks against the constant MAX_MRU in

gsm0_receive() and gsm1_receive() to harden against memory corruption of

gsm->len and gsm->mru.

All other checks remain as we still need to limit the data according to the

user configuration and actual payload size.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-36016?

CVE-2024-36016 is a high-severity vulnerability. It was published on May 29, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-36016?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-36016?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-36016?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-36016 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all