Information Exposure Affecting edk2-aarch64 package, versions <0:20200801stable-1.amzn2.0.5


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-EDK2AARCH64-6457789
  • published19 Mar 2024
  • disclosed8 Feb 2023

Introduced: 8 Feb 2023

CVE-2022-4304  (opens in a new tab)
CWE-203  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 edk2-aarch64 to version 0:20200801stable-1.amzn2.0.5 or higher.
This issue was patched in ALAS2-2024-2502.

NVD Description

Note: Versions mentioned in the description apply only to the upstream edk2-aarch64 package and not the edk2-aarch64 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A timing based side channel exists in the OpenSSL RSA Decryption implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve a successful decryption an attacker would have to be able to send a very large number of trial messages for decryption. The vulnerability affects all RSA padding modes: PKCS#1 v1.5, RSA-OEAP and RSASVE.

For example, in a TLS connection, RSA is commonly used by a client to send an encrypted pre-master secret to the server. An attacker that had observed a genuine connection between a client and a server could use this flaw to send trial messages to the server and record the time taken to process them. After a sufficiently large number of messages the attacker could recover the pre-master secret used for the original connection and thus be able to decrypt the application data sent over that connection.

CVSS Scores

version 3.1