- 
                Notifications
    You must be signed in to change notification settings 
- Fork 396
Closed
Labels
Description
Current behavior
Current Cypress Docker images are missing available fixes for Debian critical vulnerabilities
relating to
- git
- git-man
- libexpat1
Desired behavior
Cypress Docker images should be published with up-to-date available Debian fixes.
Resolved
-  cypress/factory:latest
-  cypress/base:latest
-  cypress/browsers:latest
-  cypress/included:latest
Test code to reproduce
trivy image --ignore-unfixed --pkg-types os --scanners vuln --severity CRITICAL cypress/factory:latest
trivy image --ignore-unfixed --pkg-types os --scanners vuln --severity CRITICAL cypress/base:latest
trivy image --ignore-unfixed --pkg-types os --scanners vuln --severity CRITICAL cypress/browsers:latest
trivy image --ignore-unfixed --pkg-types os --scanners vuln --severity CRITICAL cypress/included:latestCypress Docker versions
docker run --rm --entrypoint cat cypress/factory:latest /etc/debian_version
docker run --rm --entrypoint cat cypress/base:latest /etc/debian_version
docker run --rm --entrypoint cat cypress/browsers:latest /etc/debian_version
docker run --rm --entrypoint cat cypress/included:latest /etc/debian_version| Image | Debian | Published | Version | 
|---|---|---|---|
| cypress/factory | 12.7 | Sep 10, 2024 | 4.2.0 | 
| cypress/base | 12.6 | Aug 26, 2024 | 20.17.0 | 
| cypress/browsers | 12.7 | Sep 25, 2024 | node-20.17.0-chrome-129.0.6668.70-1-ff-130.0.1-edge-129.0.2792.52-1 | 
| cypress/included | 12.7 | Sep 25, 2024 | 13.15.0 | 
Debug Logs
cypress/factory:latest (debian 12.7)
Total: 5 (CRITICAL: 5)
┌───────────┬────────────────┬──────────┬────────┬───────────────────┬────────────────────┬─────────────────────────────────────────────────────────────┐
│  Library  │ Vulnerability  │ Severity │ Status │ Installed Version │   Fixed Version    │                            Title                            │
├───────────┼────────────────┼──────────┼────────┼───────────────────┼────────────────────┼─────────────────────────────────────────────────────────────┤
│ git       │ CVE-2024-32002 │ CRITICAL │ fixed  │ 1:2.39.2-1.1      │ 1:2.39.5-0+deb12u1 │ git: Recursive clones RCE                                   │
│           │                │          │        │                   │                    │ https://avd.aquasec.com/nvd/cve-2024-32002                  │
├───────────┤                │          │        │                   │                    │                                                             │
│ git-man   │                │          │        │                   │                    │                                                             │
│           │                │          │        │                   │                    │                                                             │
├───────────┼────────────────┤          │        ├───────────────────┼────────────────────┼─────────────────────────────────────────────────────────────┤
│ libexpat1 │ CVE-2024-45490 │          │        │ 2.5.0-1           │ 2.5.0-1+deb12u1    │ libexpat: Negative Length Parsing Vulnerability in libexpat │
│           │                │          │        │                   │                    │ https://avd.aquasec.com/nvd/cve-2024-45490                  │
│           ├────────────────┤          │        │                   │                    ├─────────────────────────────────────────────────────────────┤
│           │ CVE-2024-45491 │          │        │                   │                    │ libexpat: Integer Overflow or Wraparound                    │
│           │                │          │        │                   │                    │ https://avd.aquasec.com/nvd/cve-2024-45491                  │
│           ├────────────────┤          │        │                   │                    ├─────────────────────────────────────────────────────────────┤
│           │ CVE-2024-45492 │          │        │                   │                    │ libexpat: integer overflow                                  │
│           │                │          │        │                   │                    │ https://avd.aquasec.com/nvd/cve-2024-45492                  │
└───────────┴────────────────┴──────────┴────────┴───────────────────┴────────────────────┴─────────────────────────────────────────────────────────────┘