Red Hat VEX
RHVEX-CVE-2024-11831
npm-serialize-javascript: Cross-site Scripting (XSS) in serialize-javascript
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | aspnetcore-runtime-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | aspnetcore-targeting-pack-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-apphost-pack-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-host | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-hostfxr-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-runtime-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-sdk-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-sdk-6.0-source-built-artifacts | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-targeting-pack-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet-templates-6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | dotnet6.0 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-azure-monitor | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-cloudwatch | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-elasticsearch | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-graphite | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-influxdb | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-loki | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-mssql | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-mysql | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-opentsdb | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-postgres | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-prometheus | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-selinux | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-stackdriver | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | netstandard-targeting-pack-2.1 | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | aspnetcore-runtime-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | aspnetcore-runtime-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | aspnetcore-targeting-pack-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | aspnetcore-targeting-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-apphost-pack-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-apphost-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-host | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-hostfxr-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-hostfxr-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-runtime-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-runtime-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-6.0-source-built-artifacts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-7.0-source-built-artifacts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-targeting-pack-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-targeting-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-templates-6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-templates-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet6.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | netstandard-targeting-pack-2.1 | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2024-11831
- https://bugzilla.redhat.com/show_bug.cgi?id=2312579
- https://www.cve.org/CVERecord?id=CVE-2024-11831
- https://nvd.nist.gov/vuln/detail/CVE-2024-11831
- https://github.com/yahoo/serialize-javascript/commit/f27d65d3de42affe2aac14607066c293891cec4e
- https://github.com/yahoo/serialize-javascript/pull/173