Ubuntu update for openssl



| Updated: 2023-02-22
Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2022-1292
CVE-2022-1343
CVE-2022-1434
CVE-2022-1473
CWE-ID CWE-78
CWE-254
CWE-300
CWE-789
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

libssl1.0.0 (Ubuntu package)
Operating systems & Components / Operating system package or component

libssl1.1 (Ubuntu package)
Operating systems & Components / Operating system package or component

libssl3 (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) OS Command Injection

EUVDB-ID: #VU62765

Risk: Medium

CVSSv4.0: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2022-1292

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation in the c_rehash script distributed by some operating systems. A remote attacker with ability to pass data to c_rehash script can and execute arbitrary OS commands with the privileges of the script.


Mitigation

Update the affected package openssl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

libssl1.0.0 (Ubuntu package): before 1.0.2n-1ubuntu5.9

libssl1.1 (Ubuntu package): before 1.1.1l-1ubuntu1.3

libssl3 (Ubuntu package): before 3.0.2-0ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5402-1


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. However, proof of concept for this vulnerability is available.

2) Security features bypass

EUVDB-ID: #VU62766

Risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-1343

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to an error when validating OCSP response within the OCSP_basic_verify function. In the case where the (non-default) flag OCSP_NOCHECKS is used then the response will be positive (meaning a successful verification) even in the case where the response signing certificate fails to verify. A remote attacker can perform MitM attack.

Mitigation

Update the affected package openssl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

libssl1.0.0 (Ubuntu package): before 1.0.2n-1ubuntu5.9

libssl1.1 (Ubuntu package): before 1.1.1l-1ubuntu1.3

libssl3 (Ubuntu package): before 3.0.2-0ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5402-1


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) Man-in-the-Middle (MitM) attack

EUVDB-ID: #VU62767

Risk: Low

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-1434

CWE-ID: CWE-300 - Channel Accessible by Non-Endpoint ('Man-in-the-Middle')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists in OpenSSL 3.0 implementation of the RC4-MD5 ciphersuite due to incorrect usage of AAD data as the MAC key. This makes the MAC key trivially predictable. An attacker can perform a man-in-the-middle (MitM) attack to modify data being sent from one endpoint to an OpenSSL 3.0 recipient such that the modified data would still pass the MAC integrity check.

Mitigation

Update the affected package openssl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

libssl1.0.0 (Ubuntu package): before 1.0.2n-1ubuntu5.9

libssl1.1 (Ubuntu package): before 1.1.1l-1ubuntu1.3

libssl3 (Ubuntu package): before 3.0.2-0ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5402-1


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.

4) Uncontrolled Memory Allocation

EUVDB-ID: #VU62768

Risk: Low

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2022-1473

CWE-ID: CWE-789 - Uncontrolled Memory Allocation

Exploit availability: No

Description

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

The vulnerability exists due to memory reuse is not possible in the OPENSSL_LH_flush() function, which empties a hash table when decoding certificates or keys. If a long lived process periodically decodes certificates or keys its memory usage will expand without bounds and the process might be terminated by the operating system causing a denial of service.

Mitigation

Update the affected package openssl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

libssl1.0.0 (Ubuntu package): before 1.0.2n-1ubuntu5.9

libssl1.1 (Ubuntu package): before 1.1.1l-1ubuntu1.3

libssl3 (Ubuntu package): before 3.0.2-0ubuntu1.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5402-1


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###