UBUNTU-CVE-2024-43370

Source
https://ubuntu.com/security/CVE-2024-43370
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-43370.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-43370
Upstream
Published
2024-08-16T02:15:00Z
Modified
2025-10-24T05:11:48Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

gettext.js is a GNU gettext port for node and the browser. There is a cross-site scripting (XSS) injection if .po dictionary definition files are corrupted. This vulnerability has been patched in version 2.0.3. As a workaround, control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

References

Affected packages

Ubuntu:18.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js@0.5.4-1?arch=source&distro=bionic

Affected ranges

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

Affected versions

0.*

0.5.3-1
0.5.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjs-gettext.js",
            "binary_version": "0.5.4-1"
        },
        {
            "binary_name": "node-gettext.js",
            "binary_version": "0.5.4-1"
        }
    ]
}

Ubuntu:20.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js@0.5.4-1?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*

0.5.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjs-gettext.js",
            "binary_version": "0.5.4-1"
        },
        {
            "binary_name": "node-gettext.js",
            "binary_version": "0.5.4-1"
        }
    ]
}

Ubuntu:22.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js@0.7.0-2?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*

0.7.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjs-gettext.js",
            "binary_version": "0.7.0-2"
        },
        {
            "binary_name": "node-gettext.js",
            "binary_version": "0.7.0-2"
        }
    ]
}

Ubuntu:24.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js@0.7.0-3?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*

0.7.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libjs-gettext.js",
            "binary_version": "0.7.0-3"
        },
        {
            "binary_name": "node-gettext.js",
            "binary_version": "0.7.0-3"
        }
    ]
}