CVE-2022-24912: Github.com/runatlantis/atlantis Atlantis Events Vulnerable To Timing Vulnerability
HIGHCVE-2022-24912 is a HIGH (CVSS 7.5) atlantis events vulnerable to timing vulnerability (CWE-203: Observable Discrepancy) affecting Github.com/runatlantis/atlantis libraries in the Go ecosystem. The issue involves atlantis events vulnerable to timing attack. Remediation is available by upgrading affected packages to version 0.19.7.
CVE-2022-24912 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-24912
To remediate this vulnerability, upgrade all affected Github.com/runatlantis/atlantis dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/runatlantis/atlantis to 0.19.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/runatlantis/atlantis
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-24912, inspect your project dependencies for Github.com/runatlantis/atlantis:
inspect dependencies for github.com/runatlantis/atlantis
Analyze the terminal output to locate any version of Github.com/runatlantis/atlantis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.19.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-203: Observable Discrepancy, where the product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor. In Github.com/runatlantis/atlantis, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-24912 Affected Github.com/runatlantis/atlantis Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/runatlantis/atlantis
|
Go |
< 0.19.7
|
0.19.7
|
References
Frequently Asked Questions
What is CVE-2022-24912?
Which Github.com/runatlantis/atlantis versions are affected?
What version fixes CVE-2022-24912?
Is github.com/runatlantis/atlantis affected?
What is the CVSS score of CVE-2022-24912?
What CWE is associated with CVE-2022-24912?
How can I check Go dependencies for CVE-2022-24912?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jxqv-jcvh-7gr4",
"modified" : "2024-05-20T21:28:30Z",
"published" : "2022-07-30T00:00:41Z",
"aliases" : [ "CVE-2022-24912" ],
"summary" : "Atlantis Events vulnerable to Timing Attack",
"details" : "The package github.com/runatlantis/atlantis/server/controllers/events before 0.19.7 is vulnerable to Timing Attack in the webhook event validator code, which does not use a constant-time comparison function to validate the webhook secret. It can allow an attacker to recover this secret as an attacker and then forge webhook events.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/runatlantis/atlantis"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.19.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24912"
}, {
"type" : "WEB",
"url" : "https://github.com/runatlantis/atlantis/issues/2391"
}, {
"type" : "WEB",
"url" : "https://github.com/runatlantis/atlantis/pull/2392"
}, {
"type" : "WEB",
"url" : "https://github.com/runatlantis/atlantis/commit/48870911974adddaa4c99c8089e79b7d787fa820"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/runatlantis/atlantis"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2022-0534"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMRUNATLANTISATLANTISSERVERCONTROLLERSEVENTS-2950851"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-203", "CWE-208" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-08-06T05:21:43Z",
"nvd_published_at" : "2022-07-29T10:15:00Z"
}
}