UBUNTU-CVE-2024-37890

Source
https://ubuntu.com/security/CVE-2024-37890
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-37890.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-37890
Related
Published
2024-06-17T20:15:00Z
Modified
2025-01-13T10:25:31Z
Summary
[none]
Details

ws is an open source WebSocket client and server for Node.js. A request with a number of headers exceeding theserver.maxHeadersCount threshold could be used to crash a ws server. The vulnerability was fixed in ws@8.17.1 (e55e510) and backported to ws@7.5.10 (22c2876), ws@6.2.3 (eeb76d3), and ws@5.2.4 (4abd8f6). In vulnerable versions of ws, the issue can be mitigated in the following ways: 1. Reduce the maximum allowed length of the request headers using the --max-http-header-size=size and/or the maxHeaderSize options so that no more headers than the server.maxHeadersCount limit can be sent. 2. Set server.maxHeadersCount to 0 so that no limit is applied.

References

Affected packages

Ubuntu:Pro:16.04:LTS / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@1.0.1+ds1.e6ddaae4-1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

0.*

0.7.2+ds1.349b7460-1

1.*

1.0.1+ds1.e6ddaae4-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@1.1.0+ds1.e6ddaae4-3ubuntu1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

1.*

1.1.0+ds1.e6ddaae4-3build1
1.1.0+ds1.e6ddaae4-3ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@7.2.1-3?arch=source&distro=focal

Affected ranges

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

Affected versions

1.*

1.1.0+ds1.e6ddaae4-5

7.*

7.2.1-2
7.2.1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@8.5.0+~cs13.3.3-2?arch=source&distro=jammy

Affected ranges

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

Affected versions

7.*

7.4.2+~cs18.0.8-2
7.5.5+~cs13.0.13-1

8.*

8.5.0+~cs13.3.3-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@8.18.0+~cs13.7.11-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

8.*

8.11.0+~cs13.7.3-2
8.18.0+~cs13.7.11-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-ws

Package

Name
node-ws
Purl
pkg:deb/ubuntu/node-ws@8.11.0+~cs13.7.3-2?arch=source&distro=noble

Affected ranges

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

Affected versions

8.*

8.11.0+~cs13.7.3-1
8.11.0+~cs13.7.3-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}