CWE
119 787
Advisory Published
Updated

CVE-2023-40305: Buffer Overflow

First published: Mon Aug 14 2023(Updated: )

GNU indent 2.2.13 has a heap-based buffer overflow in search_brace in indent.c via a crafted file.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
GNU indent=2.2.13
ubuntu/indent<2.2.12-1ubuntu0.20.04.1
2.2.12-1ubuntu0.20.04.1
ubuntu/indent<2.2.13-3
2.2.13-3
ubuntu/indent<2.2.12-1ubuntu0.22.04.1
2.2.12-1ubuntu0.22.04.1
ubuntu/indent<2.2.12-4ubuntu0.1
2.2.12-4ubuntu0.1
debian/indent<=2.2.12-1
2.2.12-4+deb12u2
2.2.13-4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID of this issue?

    The vulnerability ID is CVE-2023-40305.

  • What is the severity of CVE-2023-40305?

    The severity of CVE-2023-40305 is medium with a CVSS score of 5.5.

  • How does CVE-2023-40305 impact GNU indent?

    CVE-2023-40305 allows remote attackers to execute arbitrary code or cause a denial of service via a crafted file, resulting in a heap-based buffer overflow in the search_brace function in indent.c.

  • How can I fix CVE-2023-40305 on GNU indent version 2.2.13?

    To fix the vulnerability, you should update GNU indent to version 2.2.13-3 or later.

  • Where can I find more information about CVE-2023-40305?

    You can find more information about CVE-2023-40305 at the following references: [Reference 1](https://ftp.gnu.org/gnu/indent/), [Reference 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3W6SL3NKMH5R4S5PD2O3MTC2UR4SBVHK/), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4MIUH3F63KQJWYR3FLKRZUYYRJOY6FYX/).

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203