Gentoo update for NASM



Published: 2023-12-27
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2019-8343
CVE-2020-21528
CVE-2022-44370
CWE-ID CWE-416
CWE-20
CWE-122
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Gentoo Linux
Operating systems & Components / Operating system

dev-lang/nasm
Operating systems & Components / Operating system package or component

Vendor Gentoo

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Use-after-free

EUVDB-ID: #VU17764

Risk: Low

CVSSv3.1: 7.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-8343

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a local attacker to gain elevated privileges.

The vulnerability exists due to a use-after-free error in the paste_tokens function, as defined in the asm/preproc.c source code file. A local attacker can access the targeted system, make system calls that submit malicious input, trigger memory corruption and execute arbitrary code with elevated privileges.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation

Update the affected packages.
dev-lang/nasm to version: 2.16.01

Vulnerable software versions

Gentoo Linux: All versions

dev-lang/nasm: before 2.16.01

External links

http://security.gentoo.org/glsa/202312-09


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Input validation error

EUVDB-ID: #VU84812

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-21528

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input within the ieee_segment() function in outieee.c. A remote attacker can pass specially crafted assembly file to the compiler and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages.
dev-lang/nasm to version: 2.16.01

Vulnerable software versions

Gentoo Linux: All versions

dev-lang/nasm: before 2.16.01

External links

http://security.gentoo.org/glsa/202312-09


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Heap-based buffer overflow

EUVDB-ID: #VU84813

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-44370

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the quote_for_pmake() function in asm/nasm.c. A remote attacker can pass specially crafted file to the compiler, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages.
dev-lang/nasm to version: 2.16.01

Vulnerable software versions

Gentoo Linux: All versions

dev-lang/nasm: before 2.16.01

External links

http://security.gentoo.org/glsa/202312-09


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###