DEBIAN-CVE-2021-46872

Source
https://security-tracker.debian.org/tracker/CVE-2021-46872
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-46872.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-46872
Upstream
Published
2023-01-13T06:15:10Z
Modified
2025-09-25T23:25:43.024458Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in Nim before 1.6.2. The RST module of the Nim language stdlib, as used in NimForum and other products, permits the javascript: URI scheme and thus can lead to XSS in some applications. (Nim versions 1.6.2 and later are fixed; there may be backports of the fix to some earlier versions. NimForum 2.2.0 is fixed.)

References

Affected packages

Debian:11 / nim

Package

Name
nim
Purl
pkg:deb/debian/nim?arch=source

Affected ranges

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

Affected versions

1.*

1.4.6+really1.4.2-2
1.4.8-1
1.4.8-2
1.4.8-3
1.6.0-1
1.6.0-1.1
1.6.2-1~bpo11+1
1.6.2-1
1.6.4-1
1.6.6-1
1.6.8-1
1.6.10-1
1.6.10-2
1.6.14-1
1.6.14-2
1.6.14-3

2.*

2.2.0-1
2.2.4-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nim

Package

Name
nim
Purl
pkg:deb/debian/nim?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / nim

Package

Name
nim
Purl
pkg:deb/debian/nim?arch=source

Affected ranges

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

Affected versions

0.*

0.11.2+dfsg1-1
0.11.2+dfsg1-2
0.11.2+dfsg1-3
0.11.2+dfsg1-4
0.12.0-1
0.12.0-2
0.13.0-1
0.14.2-1
0.15.0-1
0.15.0-2
0.15.0-3
0.15.2-1
0.15.2-2
0.16.0-1
0.17.0-1
0.17.0-2~bpo9+1
0.17.0-2
0.17.2-1
0.18.0-1
0.18.0-2
0.19.0-1
0.19.2-1
0.19.2-2
0.19.4-1
0.19.6-1
0.19.6-2
0.20.0-1
0.20.0-2
0.20.2-1

1.*

1.0.0-1~bpo10+1
1.0.0-1
1.0.2~a-1
1.0.2~b-1
1.0.2~rc-1
1.0.2-1~bpo10+1
1.0.2-1
1.0.3~rc-1
1.0.4-1~bpo10+1
1.0.4-1
1.0.5~rc-1
1.0.6-1
1.2.0~rc-1
1.2.0~rc2-1
1.2.0~rc3-1
1.2.0-1
1.2.1~rc1-1
1.2.1~rc2-1
1.2.2-1
1.2.4-1
1.2.6~rc1-1
1.2.6-1
1.4.0-1
1.4.2-1
1.4.6-1
1.4.6+really1.4.2-1
1.4.6+really1.4.2-2
1.4.8-1
1.4.8-2
1.4.8-3
1.6.0-1
1.6.0-1.1
1.6.2-1~bpo11+1

Ecosystem specific

{
    "urgency": "not yet assigned"
}