Skip to content

Commit 0b03b15

Browse files
authored
Update package for CVE-2024-25062 and remove fail (#1579)
Problem: There's a new CVE and it's making fail all the PRs Solution: Update the package affected by the CVE and stop failing on new CVE, just alert us.
1 parent e291269 commit 0b03b15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,14 @@ jobs:
148148
sbom: "sbom-${{ inputs.image }}.json"
149149
only-fixed: true
150150
add-cpes-if-none: true
151+
fail-build: false
151152

152153
- name: Upload scan result to GitHub Security tab
153154
uses: github/codeql-action/upload-sarif@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0
154155
continue-on-error: true
155156
with:
156157
sarif_file: ${{ steps.scan.outputs.sarif }}
158+
category: build-${{ inputs.image }}
157159
if: always()
158160

159161
- name: Upload Scan Results

build/Dockerfile.nginx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN apk add --no-cache libcap \
99
&& mkdir -p /var/lib/nginx /usr/lib/nginx/modules \
1010
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
1111
&& setcap -v 'cap_net_bind_service=+ep' /usr/sbin/nginx \
12-
# Update packages for CVE-2023-52425
13-
&& apk --no-cache upgrade libexpat \
12+
# Update packages for CVE-2023-52425 and CVE-2024-25062
13+
&& apk --no-cache upgrade libexpat libxml2 \
1414
&& apk del libcap
1515

1616
COPY ${NJS_DIR}/httpmatches.js /usr/lib/nginx/modules/njs/httpmatches.js

0 commit comments

Comments
 (0)