Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 711630 (CVE-2019-11365, CVE-2019-11366) - <net-ftp/atftp-0.7.2: Multiple vulnerabilities (CVE-2019-{11365,11366})
Summary: <net-ftp/atftp-0.7.2: Multiple vulnerabilities (CVE-2019-{11365,11366})
Status: RESOLVED FIXED
Alias: CVE-2019-11365, CVE-2019-11366
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B1 [glsa+ cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-05 20:27 UTC by Sam James
Modified: 2020-03-14 16:50 UTC (History)
3 users (show)

See Also:
Package list:
=net-ftp/atftp-0.7.2-r1
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James gentoo-dev Security 2020-03-05 20:27:05 UTC
1) CVE-2019-11365
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. "

Patch (in 0.7.2): https://sourceforge.net/p/atftp/code/ci/abed7d245d8e8bdfeab24f9f7f55a52c3140f96b/


2) CVE-2019-11366
Description:
"An issue was discovered in atftpd in atftp 0.7.1. It does not lock the thread_list_mutex mutex before assigning the current thread data structure. As a result, the daemon is vulnerable to a denial of service attack due to a NULL pointer dereference. If thread_data is NULL when assigned to current, and modified by another thread before a certain tftpd_list.c check, there is a crash when dereferencing current->next."

Patch (in 0.7.2): https://sourceforge.net/p/atftp/code/ci/382f76a90b44f81fec00e2f609a94def4a5d3580/
Comment 1 Tobias Klausmann gentoo-dev 2020-03-06 09:02:37 UTC
Arches, please stabilize =net-ftp/atftp-0.7.2
Comment 2 Stabilization helper bot gentoo-dev 2020-03-06 10:00:32 UTC
An automated check of this bug failed - the following atom is unknown:

net-ftp/atftp-0.7.2

Please verify the atom list.
Comment 3 Tobias Klausmann gentoo-dev 2020-03-06 10:27:20 UTC
(In reply to Stabilization helper bot from comment #2)
> An automated check of this bug failed - the following atom is unknown:
> 
> net-ftp/atftp-0.7.2
> 
> Please verify the atom list.

Correction: net-ftp/atftp-0.7.2-r1
Comment 4 Agostino Sarubbo gentoo-dev 2020-03-06 11:41:01 UTC
amd64 stable
Comment 5 Agostino Sarubbo gentoo-dev 2020-03-06 12:32:59 UTC
x86 stable
Comment 6 Agostino Sarubbo gentoo-dev 2020-03-07 10:52:00 UTC
ppc64 stable
Comment 7 Agostino Sarubbo gentoo-dev 2020-03-07 10:56:09 UTC
ppc stable
Comment 8 Agostino Sarubbo gentoo-dev 2020-03-07 11:07:17 UTC
arm stable.

Maintainer(s), please cleanup.
Comment 9 Tobias Klausmann gentoo-dev 2020-03-07 17:58:38 UTC
Removed old version and associated files.
Comment 10 Thomas Deutschmann gentoo-dev Security 2020-03-08 00:15:31 UTC
New GLSA request filed.
Comment 11 GLSAMaker/CVETool Bot gentoo-dev 2020-03-14 16:50:00 UTC
This issue was resolved and addressed in
 GLSA 202003-14 at https://security.gentoo.org/glsa/202003-14
by GLSA coordinator Thomas Deutschmann (whissi).