UBUNTU-CVE-2024-11831

Source
https://ubuntu.com/security/CVE-2024-11831
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-11831.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-11831
Related
Published
2025-02-10T16:15:00Z
Modified
2025-02-13T04:30:56Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.

References

Affected packages

Ubuntu:22.04:LTS / node-serialize-javascript

Package

Name
node-serialize-javascript
Purl
pkg:deb/ubuntu/node-serialize-javascript@6.0.0-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

5.*

5.0.1-2

6.*

6.0.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-serialize-javascript

Package

Name
node-serialize-javascript
Purl
pkg:deb/ubuntu/node-serialize-javascript@6.0.1-1?arch=source&distro=oracular

Affected ranges

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

Affected versions

6.*

6.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-serialize-javascript

Package

Name
node-serialize-javascript
Purl
pkg:deb/ubuntu/node-serialize-javascript@6.0.1-1?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*

6.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}