CVE-2019-11365 Memory corruption in n/a

Critical 9.8 Published Updated

A remote attacker can trigger a stack-based buffer overflow in the atftpd TFTP server via crafted error packets, potentially leading to code execution or service disruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11365?

CVE-2019-11365 is a critical memory corruption vulnerability in n/a, published on 20 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in atftpd in atftp 0.7.1. A remote attacker may send a crafted packet triggering a stack-based buffer overflow due to an insecurely implemented strncpy call. The vulnerability is triggered by sending an error packet of 3 bytes or fewer. There are multiple instances of this vulnerable strncpy pattern within the code base, specifically within tftpd_file.c, tftp_file.c, tftpd_mtftp.c, and tftp_mtftp.c.

Weakness: CWE-787

Which versions are affected by CVE-2019-11365?

It affects 1 product.

Products include Atftp Project Atftp.

How do I fix CVE-2019-11365?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2019-11365 being exploited?

There is no known exploitation of CVE-2019-11365 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-11365, GHSA-4g6j-v9hp-3h66, UBUNTU-CVE-2019-11365.

Is CVE-2019-11365 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free