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
Related
Published
2024-08-16T02:15:00Z
Modified
2024-10-15T14:16:34Z
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:Pro:18.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js?arch=src?distro=esm-apps/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

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js?arch=src?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

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js?arch=src?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

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.0-4

Affected versions

0.*

0.7.0-3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.7.0-4",
            "binary_name": "libjs-gettext.js"
        },
        {
            "binary_version": "0.7.0-4",
            "binary_name": "node-gettext.js"
        }
    ]
}

Ubuntu:24.04:LTS / gettext.js

Package

Name
gettext.js
Purl
pkg:deb/ubuntu/gettext.js?arch=src?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

{
    "ubuntu_priority": "medium"
}