CVE-2024-41125: Out-of-bounds read in SNMP when decoding a string in Contiki-NG

Published Nov 27, 2024
·
Updated

Contiki-NG is an open-source, cross-platform operating system for IoT devices. An out-of-bounds read of 1 byte can be triggered when sending a packet to a device running the Contiki-NG operating system with SNMP enabled. The SNMP module is disabled in the default Contiki-NG configuration. The vulnerability exists in the os/net/app-layer/snmp/snmp-ber.c module, where the function snmp_ber_decode_string_len_buffer decodes the string length from a received SNMP packet. In one place, one byte is read from the buffer, without checking that the buffer has another byte available, leading to a possible out-of-bounds read. The problem has been patched in Contiki-NG pull request #2936. It will be included in the next release of Contiki-NG. Users are advised to apply the patch manually or to wait for the next release. A workaround is to disable the SNMP module in the Contiki-NG build configuration.

Affected Software

1 affected component
Contiki-NG Contiki-NG

Event History

Nov 27, 2024
CVE Published
via MITRE·06:20 PM
Data Sourced
via MITRE·06:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41125?

CVE-2024-41125 has been classified with medium severity due to the potential for an out-of-bounds read.

2

How do I fix CVE-2024-41125?

To mitigate CVE-2024-41125, ensure that the SNMP module is disabled in your Contiki-NG configuration.

3

Which versions of Contiki-NG are affected by CVE-2024-41125?

CVE-2024-41125 affects all versions of Contiki-NG where the SNMP module is enabled.

4

What are the implications of CVE-2024-41125 for IoT security?

CVE-2024-41125 could be exploited to read unauthorized memory regions, potentially leading to sensitive data exposure.

5

Is there a patch available for CVE-2024-41125?

Currently, a specific patch for CVE-2024-41125 is not provided, but users should review the project's security advisories for updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203