ALAS2-2025-2749
Active ImportantALAS2-2025-2749 (important): nerdctl
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2749.html| CVE |
|---|
| CVE-2024-45337 |
| CVE-2024-45338 |
Description
Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about
Read full publisher description 2521 characters
Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/[email protected] enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance. (CVE-2024-45337) An attacker can craft an input to the Parse functions that would be processed non-linearly with respect to its length, resulting in extremely slow parsing. This could cause a denial of service. (CVE-2024-45338)
Solution
Run yum update nerdctl or yum update --advisory ALAS2-2025-2749 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences-
1nerdctl
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- nerdctl-2.0.3-1.amzn2.0.1.aarch64
- nerdctl-debuginfo-2.0.3-1.amzn2.0.1.aarch64
-
2nerdctl
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- nerdctl-2.0.3-1.amzn2.0.1.src
-
3nerdctl
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- nerdctl-2.0.3-1.amzn2.0.1.x86_64
- nerdctl-debuginfo-2.0.3-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2024-45337 https://access.redhat.com/security/cve/CVE-2024-45337
- CVE-2024-45338 https://access.redhat.com/security/cve/CVE-2024-45338
- CVE-2024-45337 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45337
- CVE-2024-45338 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45338
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2025-2749.html | Unknown | d06c13bf6c333705fb532b956c0b5206e5ce58b89d0c06d1addaed7ba54b0e0c | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2749.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2749.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |