-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verifies if rsync package is affected by multiple CVEs. The Focal and older release fixes are available for ESM customers. Had to update fake_data_root 'dpkg -l' entries to get past functional test failures.
- Loading branch information
1 parent
1745ed9
commit a5c9c10
Showing
8 changed files
with
64 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
checks: | ||
has_rsync_cve: | ||
apt: | ||
rsync: | ||
# Oracular | ||
- min: '3.3.0' | ||
- max: '3.3.0-1' | ||
# Noble | ||
- min: '3.2.7' | ||
- max: '3.2.7-1ubuntu1' | ||
# Jammy | ||
- min: '3.2.3' | ||
- max: '3.2.7-0ubuntu0.22.04.2' | ||
# Focal | ||
- min: '3.1.3' | ||
- max: '3.1.3-8ubuntu0.7' | ||
# Bionic | ||
- min: '3.1.2' | ||
- max: '3.1.2-2ubuntu1.6' | ||
# Xenial | ||
- min: '3.1.1' | ||
- max: '3.1.1-3ubuntu1.3' | ||
# Trusty | ||
- min: '3.1.0' | ||
- max: '3.1.0-2ubuntu0.4' | ||
conclusions: | ||
rsync_cve: | ||
decision: has_rsync_cve | ||
raises: | ||
type: MitreCVE | ||
cve-id: CVE-2024-12084 | ||
message: >- | ||
Installed package '{package}' with version {version} has a known | ||
security vulnerability (CVE-2024-12084). Please upgrade to the | ||
latest version to get the fix. | ||
format-dict: | ||
package: '@checks.has_rsync_cve.requires.package' | ||
version: '@checks.has_rsync_cve.requires.version' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
target-name: cve-needrestart.yaml | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii rsync 3.2.7-0ubuntu0.22.04.3 all | ||
copy-from-original: | ||
- sos_commands/date/date | ||
- uptime | ||
raised-bugs: # none expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
data-root: | ||
files: | ||
sos_commands/dpkg/dpkg_-l: | | ||
ii rsync 3.2.7-0ubuntu0.22.04.2 all | ||
copy-from-original: | ||
- sos_commands/date/date | ||
- uptime | ||
raised-bugs: | ||
https://www.cve.org/CVERecord?id=CVE-2024-12084: >- | ||
Installed package 'rsync' with version 3.2.7-0ubuntu0.22.04.2 has a known | ||
security vulnerability (CVE-2024-12084). Please upgrade to the | ||
latest version to get the fix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters