Skip to content

Conversation

@rayaisaiah
Copy link
Contributor

@rayaisaiah rayaisaiah commented Feb 27, 2025

Reason for Change:

Updates NPM Linux dockerfile to manually run apt-get install to get latest versions of Ubuntu package libgnutls30 to resolve CVE-2024-12243 an Ubuntu CVE in NPM's base image.

Issue Fixed:

Trivy scan of NPM on current v1.5 release (v1.5.43):

mcr.microsoft.com/containernetworking/azure-npm:v1.5.43 (ubuntu 20.04) ====================================================================== Total: 1 (UNKNOWN: 0, LOW: 0, MEDIUM: 1, HIGH: 0, CRITICAL: 0) ┌─────────────┬────────────────┬──────────┬────────┬────────────────────┬────────────────────┬────────────────────────────────────────────────────────┐ │ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │ ├─────────────┼────────────────┼──────────┼────────┼────────────────────┼────────────────────┼────────────────────────────────────────────────────────┤ │ libgnutls30 │ CVE-2024-12243 │ MEDIUM │ fixed │ 3.6.13-2ubuntu1.11 │ 3.6.13-2ubuntu1.12 │ gnutls: GnuTLS Impacted by Inefficient DER Decoding in │ │ │ │ │ │ │ │ libtasn1 Leading to Remote... │ │ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2024-12243 │ └─────────────┴────────────────┴──────────┴────────┴────────────────────┴────────────────────┴────────────────────────────────────────────────────────┘ 

Trivy scan of NPM after dockerfile update:

acnpublic.azurecr.io/azure-npm:v1.5.44Test3 (ubuntu 20.04) ========================================================== Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0) 

Requirements:

Notes:

Copilot AI review requested due to automatic review settings February 27, 2025 18:14
@rayaisaiah rayaisaiah requested a review from a team as a code owner February 27, 2025 18:14
@rayaisaiah rayaisaiah requested a review from matmerr February 27, 2025 18:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@rayaisaiah rayaisaiah added npm Related to NPM. linux labels Feb 27, 2025
@rayaisaiah
Copy link
Contributor Author

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).
@huntergregory huntergregory added this pull request to the merge queue Feb 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 27, 2025
@rayaisaiah rayaisaiah added this pull request to the merge queue Feb 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 28, 2025
@rayaisaiah rayaisaiah added this pull request to the merge queue Feb 28, 2025
Merged via the queue into release/v1.5 with commit 5912581 Feb 28, 2025
18 checks passed
@rayaisaiah rayaisaiah deleted the isaiahraya/fix-npm-cve-2024-12243 branch February 28, 2025 04:51
github-merge-queue bot pushed a commit that referenced this pull request Mar 3, 2025
* fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu Vulnerabilities (#3439) * updated npm linux dockerfile to run apt-get upgrade to fix ubuntu cves * updated to install specific packages * fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu CVE-2024-12243 (#3461) resolved npm CVE-2024-12243
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
* fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu Vulnerabilities (#3439) * updated npm linux dockerfile to run apt-get upgrade to fix ubuntu cves * updated to install specific packages * fix: [NPM] [CVEs] Update NPM Linux Dockerfile to Fix Ubuntu CVE-2024-12243 (#3461) resolved npm CVE-2024-12243
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linux npm Related to NPM.

4 participants