ALAS2-2025-2779
Active ImportantALAS2-2025-2779 (important): amazon-cloudwatch-agent
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 5 records
Shared by all 5 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2025-2779.html| CVE |
|---|
| CVE-2024-34155 |
| CVE-2024-34156 |
| CVE-2024-34158 |
| CVE-2024-45337 |
| CVE-2024-45338 |
Description
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion. (CVE-2024-34155) Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635. (CVE-2024-34156) Calling Parse on a "// +build"
Read full publisher description 2987 characters
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion. (CVE-2024-34155) Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635. (CVE-2024-34156) Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion. (CVE-2024-34158) 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 amazon-cloudwatch-agent or yum update --advisory ALAS2-2025-2779 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-
1amazon-cloudwatch-agent
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- amazon-cloudwatch-agent-1.300052.1-1.amzn2.aarch64
-
2amazon-cloudwatch-agent
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- amazon-cloudwatch-agent-1.300052.1-1.amzn2.src
-
3amazon-cloudwatch-agent
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- amazon-cloudwatch-agent-1.300052.1-1.amzn2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
10- CVE-2024-34155 https://access.redhat.com/security/cve/CVE-2024-34155
- CVE-2024-34156 https://access.redhat.com/security/cve/CVE-2024-34156
- CVE-2024-34158 https://access.redhat.com/security/cve/CVE-2024-34158
- 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-34155 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34155
- CVE-2024-34156 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34156
- CVE-2024-34158 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34158
- 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-2779.html | Unknown | 89fda55378359cd7a855c0844cd25e2f1dfef0dfd9f5d4d68c9c0296f9429ef7 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2779.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2025-2779.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |