UBUNTU-CVE-2022-29244

See a problem?
Source
https://ubuntu.com/security/CVE-2022-29244
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-29244.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-29244
Related
  • CVE-2022-29244
Published
2022-06-13T14:15:00Z
Modified
2024-10-15T14:09:55Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

npm pack ignores root-level .gitignore and .npmignore file exclusion directives when run in a workspace or with a workspace flag (ie. --workspaces, --workspace=<name>). Anyone who has run npm pack or npm publish inside a workspace, as of v7.9.0 and v7.13.0 respectively, may be affected and have published files into the npm registry they did not intend to include. Users should upgrade to the latest, patched version of npm v8.11.0, run: npm i -g npm@latest . Node.js versions v16.15.1, v17.19.1, and v18.3.0 include the patched v8.11.0 version of npm.

References

Affected packages

Ubuntu:Pro:14.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.18~dfsg-3
1.3.10~dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.21+ds-2

3.*

3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.16.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.18.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.8.0+ds6-4

6.*

6.14.4+ds-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.5.2+ds-2
7.24.2+ds-1
7.24.2+ds-2

8.*

8.3.0~ds-1
8.3.0~ds-2
8.3.2~ds-1
8.5.0~ds-1
8.5.1~ds-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.2.0~ds1-2
9.2.0~ds1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.2.0~ds1-1
9.2.0~ds1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}