Summary: | <net-misc/curl-7.66.0: multiple vulnerabilities | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blueness |
Priority: | Normal | Flags: | stable-bot:
sanity-check+
|
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | A3 [glsa+ cve] | ||
Package list: |
net-misc/curl-7.66.0
|
Runtime testing required: | --- |
Description
Jeroen Roovers (RETIRED)
2019-09-11 07:00:04 UTC
https://curl.haxx.se/docs/CVE-2019-5481.html TFTP small blocksize heap buffer overflow ========================================= Project curl Security Advisory, September 11th 2019 - [Permalink](https://curl.haxx.se/docs/CVE-2019-5482.html) VULNERABILITY ------------- libcurl contains a heap buffer overflow in the function (`tftp_receive_packet()`) that receives data from a TFTP server. It can call `recvfrom()` with the default size for the buffer rather than with the size that was used to allocate it. Thus, the content that might overwrite the heap memory is controlled by the server. This flaw is only triggered if the TFTP server sends an OACK without the BLKSIZE option, when a BLKSIZE smaller than 512 bytes was requested by the TFTP client. OACK is a TFTP extension and is not used by all TFTP servers. Users choosing a smaller block size than default should be rare as the primary use case for changing the size is to make it larger. It is rare for users to use TFTP across the Internet. It is most commonly used within local networks. TFTP as a protocol is always inherently insecure. This issue was introduced by the add of the TFTP BLKSIZE option handling. It was previously incompletely fixed by an almost identical issue called CVE-2019-5436. We are not aware of any exploit of this flaw. (In reply to Jeroen Roovers from comment #1) oop, sorry (In reply to Jeroen Roovers from comment #2) > (In reply to Jeroen Roovers from comment #1) > > oop, sorry Thanks Jer. Its ready for stabilization. An automated check of this bug failed - repoman reported dependency errors (55 lines truncated):
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: DEPEND: amd64(default/linux/amd64/17.0) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: RDEPEND: amd64(default/linux/amd64/17.0) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: DEPEND: amd64(default/linux/amd64/17.0/desktop) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
x86 stable An automated check of this bug failed - repoman reported dependency errors (55 lines truncated):
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: DEPEND: amd64(default/linux/amd64/17.0) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: RDEPEND: amd64(default/linux/amd64/17.0) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad net-misc/curl/curl-7.66.0.ebuild: DEPEND: amd64(default/linux/amd64/17.0/desktop) ['net-libs/quiche[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac189e16b0627ab6ca16302e8392610a69e0fce commit 5ac189e16b0627ab6ca16302e8392610a69e0fce Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-10-28 13:07:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-10-28 13:07:20 +0000 profiles: amd64: Mask net-misc/curl[quiche] Bug: https://bugs.gentoo.org/694020 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> profiles/arch/amd64/package.use.stable.mask | 5 +++++ 1 file changed, 5 insertions(+) amd64 stable arm stable hppa stable sparc stable arm64 stable s390 stable alpha stable ppc64 stable ppc stable ia64 stable. Maintainer(s), please cleanup. Security, please add it to the existing request, or file a new one. Cleanup? Four months have passed... (In reply to Teika kazura from comment #18) > Cleanup? Four months have passed... done New GLSA request filed. This issue was resolved and addressed in GLSA 202003-29 at https://security.gentoo.org/glsa/202003-29 by GLSA coordinator Thomas Deutschmann (whissi). |