UBUNTU-CVE-2022-21681

Source
https://ubuntu.com/security/CVE-2022-21681
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21681.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-21681
Related
Published
2022-01-14T17:15:00Z
Modified
2024-10-15T14:09:45Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression inline.reflinkSearch may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

References

Affected packages

Ubuntu:Pro:16.04:LTS / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

0.*

0.3.2+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

0.*

0.3.6+dfsg-1
0.3.9+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=focal

Affected ranges

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

Affected versions

0.*

0.5.1+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=jammy

Affected ranges

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

Affected versions

0.*

0.8.0+ds+repack-2
0.8.0+ds+repack-3

4.*

4.0.5+ds-5
4.0.9+ds+~4.0.1-2
4.0.12+ds+~4.0.1-1
4.0.12+ds+~4.0.1-2ubuntu1
4.0.12+ds+~4.0.1-2ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=oracular

Affected ranges

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

Affected versions

4.*

4.2.3+ds+~4.0.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-marked

Package

Name
node-marked
Purl
pkg:deb/ubuntu/node-marked?arch=src?distro=noble

Affected ranges

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

Affected versions

4.*

4.2.3+ds+~4.0.7-2ubuntu1
4.2.3+ds+~4.0.7-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}