Skip to content

Commit cd1bc61

Browse files
authored
test: update cassettes (#2819)
The cassettes have changed, probably due to OSV advisories being changed. Please review the differences to make sure that they're expected!
1 parent 4fcbde5 commit cd1bc61

9 files changed

Lines changed: 399 additions & 966 deletions

File tree

cmd/osv-scanner/scan/image/__snapshots__/command_test.snap

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ Scanning local image tarball "./testdata/test-ubuntu.tar"
444444
445445
446446
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "library/ubuntu" image):
447-
Total 25 packages affected by 69 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 2 Unknown) from 1 ecosystem.
447+
Total 25 packages affected by 73 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 6 Unknown) from 1 ecosystem.
448448
29 vulnerabilities can be fixed.
449449
450450
@@ -470,7 +470,7 @@ Ubuntu:22.04
470470
| openssl | 3.0.2-0ubuntu1.18 | Partial fixes Available | 6 | libssl3 | # 4 Layer | library/ubuntu |
471471
| pam | 1.4.0-11ubuntu2.5 | Partial fixes Available | 2 | libpam-modules... (4) | # 4 Layer | library/ubuntu |
472472
| pcre2 | 10.39-3ubuntu0.1 | No fix available | 1 | libpcre2-8-0 | # 4 Layer | library/ubuntu |
473-
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 3 | perl-base | # 4 Layer | library/ubuntu |
473+
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 7 | perl-base | # 4 Layer | library/ubuntu |
474474
| sed | 4.8-1ubuntu2 | Fix Available | 1 | sed | # 4 Layer | library/ubuntu |
475475
| shadow | 1:4.8.1-2ubuntu2.2 | No fix available | 2 | login, passwd | # 4 Layer | library/ubuntu |
476476
| systemd | 249.11-0ubuntu3.12 | Partial fixes Available | 9 | libsystemd0... (2) | # 4 Layer | library/ubuntu |
@@ -496,7 +496,7 @@ Scanning local image tarball "./testdata/test-ubuntu.tar"
496496
497497
498498
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "library/ubuntu" image):
499-
Total 25 packages affected by 69 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 2 Unknown) from 1 ecosystem.
499+
Total 25 packages affected by 73 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 6 Unknown) from 1 ecosystem.
500500
29 vulnerabilities can be fixed.
501501
502502
@@ -522,7 +522,7 @@ Ubuntu:22.04
522522
| openssl | 3.0.2-0ubuntu1.18 | Partial fixes Available | 6 | libssl3 | # 4 Layer | library/ubuntu |
523523
| pam | 1.4.0-11ubuntu2.5 | Partial fixes Available | 2 | libpam-modules... (4) | # 4 Layer | library/ubuntu |
524524
| pcre2 | 10.39-3ubuntu0.1 | No fix available | 1 | libpcre2-8-0 | # 4 Layer | library/ubuntu |
525-
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 3 | perl-base | # 4 Layer | library/ubuntu |
525+
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 7 | perl-base | # 4 Layer | library/ubuntu |
526526
| sed | 4.8-1ubuntu2 | Fix Available | 1 | sed | # 4 Layer | library/ubuntu |
527527
| shadow | 1:4.8.1-2ubuntu2.2 | No fix available | 2 | login, passwd | # 4 Layer | library/ubuntu |
528528
| systemd | 249.11-0ubuntu3.12 | Partial fixes Available | 9 | libsystemd0... (2) | # 4 Layer | library/ubuntu |
@@ -567,7 +567,7 @@ Scanning local image tarball "./testdata/test-ubuntu-with-packages.tar"
567567
568568
569569
Container Scanning Result (Ubuntu 22.04.5 LTS) (Based on "library/ubuntu" image):
570-
Total 25 packages affected by 69 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 2 Unknown) from 1 ecosystem.
570+
Total 25 packages affected by 73 known vulnerabilities (6 Critical, 19 High, 37 Medium, 5 Low, 6 Unknown) from 1 ecosystem.
571571
29 vulnerabilities can be fixed.
572572
573573
@@ -593,7 +593,7 @@ Ubuntu:22.04
593593
| openssl | 3.0.2-0ubuntu1.18 | Partial fixes Available | 6 | libssl3 | # 4 Layer | library/ubuntu |
594594
| pam | 1.4.0-11ubuntu2.5 | Partial fixes Available | 2 | libpam-modules... (4) | # 4 Layer | library/ubuntu |
595595
| pcre2 | 10.39-3ubuntu0.1 | No fix available | 1 | libpcre2-8-0 | # 4 Layer | library/ubuntu |
596-
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 3 | perl-base | # 4 Layer | library/ubuntu |
596+
| perl | 5.34.0-3ubuntu1.3 | Partial fixes Available | 7 | perl-base | # 4 Layer | library/ubuntu |
597597
| sed | 4.8-1ubuntu2 | Fix Available | 1 | sed | # 4 Layer | library/ubuntu |
598598
| shadow | 1:4.8.1-2ubuntu2.2 | No fix available | 2 | login, passwd | # 4 Layer | library/ubuntu |
599599
| systemd | 249.11-0ubuntu3.12 | Partial fixes Available | 9 | libsystemd0... (2) | # 4 Layer | library/ubuntu |
@@ -4386,14 +4386,18 @@ Scanning local image tarball "./testdata/test-node_modules-npm-full.tar"
43864386
"index": 4
43874387
}
43884388
},
4389-
"groups": 4,
4389+
"groups": 8,
43904390
"vulnerabilities": [
43914391
"USN-7434-1",
43924392
"USN-7678-1",
43934393
"UBUNTU-CVE-2023-31486",
43944394
"UBUNTU-CVE-2023-47039",
43954395
"UBUNTU-CVE-2024-56406",
4396-
"UBUNTU-CVE-2025-40909"
4396+
"UBUNTU-CVE-2025-40909",
4397+
"UBUNTU-CVE-2026-42496",
4398+
"UBUNTU-CVE-2026-42497",
4399+
"UBUNTU-CVE-2026-8376",
4400+
"UBUNTU-CVE-2026-9538"
43974401
]
43984402
},
43994403
{
@@ -5475,14 +5479,18 @@ Scanning local image tarball "./testdata/test-ubuntu.tar"
54755479
"index": 4
54765480
}
54775481
},
5478-
"groups": 4,
5482+
"groups": 8,
54795483
"vulnerabilities": [
54805484
"USN-7434-1",
54815485
"USN-7678-1",
54825486
"UBUNTU-CVE-2023-31486",
54835487
"UBUNTU-CVE-2023-47039",
54845488
"UBUNTU-CVE-2024-56406",
5485-
"UBUNTU-CVE-2025-40909"
5489+
"UBUNTU-CVE-2025-40909",
5490+
"UBUNTU-CVE-2026-42496",
5491+
"UBUNTU-CVE-2026-42497",
5492+
"UBUNTU-CVE-2026-8376",
5493+
"UBUNTU-CVE-2026-9538"
54865494
]
54875495
},
54885496
{

0 commit comments

Comments
 (0)