Critical
nim — security advisory
In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
- Products
- nim
- Affected versions
- 0.11.2+dfsg1-4, 0.12.0-2, 0.17.2-1ubuntu1, 0.17.2-1ubuntu2, 0.20.2-1, 1.0.2-1, 1.0.3~rc-1, 1.0.4-1, 1.0.6-1, 1.6.14-1, 1.6.14-1ubuntu1, 1.6.14-1ubuntu2, 2.2.10-1, 2.2.4-1, 2.2.4-2
- Fixed versions
- Not specified
- CVEs
- CVE-2020-15690
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:51 UTC · Revision 1
Source evidence
In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.
osv:UBUNTU-CVE-2020-15690
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
nim
Fixed versions: Not specified
Complete source record
{
"id": "d0774ed6eea6535055811143c4945f10d3c6a42f3104eabb924ba56d3f78ba45",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-15690",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2020-15690",
"summary": "In Nim before 1.2.6, the standard library asyncftpclient lacks a check for whether a message contains a newline character.",
"evidence": "osv:UBUNTU-CVE-2020-15690",
"products": [
{
"name": {
"value": "nim",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.2+dfsg1-4",
"evidence": "/affected/0/versions"
},
{
"value": "0.12.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.17.2-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "0.17.2-1ubuntu2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.20.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.0.2-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.0.3~rc-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.0.4-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.0.6-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.14-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.6.14-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "1.6.14-1ubuntu2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.6.14-1ubuntu2",
"evidence": "/affected/4/versions"
},
{
"value": "2.2.4-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.4-2",
"evidence": "/affected/5/versions"
},
{
"value": "2.2.10-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "nim",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.4-1",
"evidence": "/affected/6/versions"
},
{
"value": "2.2.4-2",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2020-15690",
"aliases": [
"UBUNTU-CVE-2020-15690"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"0.11.2+dfsg1-4",
"0.12.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "0.12.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"0.17.2-1ubuntu1",
"0.17.2-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "0.17.2-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.20.2-1",
"1.0.2-1",
"1.0.3~rc-1",
"1.0.4-1",
"1.0.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "1.0.6-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.6.14-1",
"1.6.14-1ubuntu1",
"1.6.14-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "1.6.14-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.6.14-1ubuntu2",
"2.2.4-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "2.2.4-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.2.4-2",
"2.2.10-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "2.2.10-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nim",
"purl": "pkg:deb/ubuntu/nim?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"2.2.4-1",
"2.2.4-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-15690.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "nim",
"binary_version": "2.2.4-2"
}
]
}
}
],
"modified": "2026-10-17T12:56:11.633422716Z",
"provider": "osv",
"upstream": [
"CVE-2020-15690"
],
"references": [
"https://ubuntu.com/security/CVE-2020-15690",
"https://github.com/nim-lang/Nim/blob/dc5a40f3f39c6ea672e6dc6aca7f8118a69dda99/lib/pure/asyncftpclient.nim#L145",
"https://github.com/nim-lang/Nim/commit/e71395f5718326d45b6739c931ab6c0d80d79171",
"https://github.com/nim-lang/Nim/compare/v1.2.4...v1.2.6",
"https://www.cve.org/CVERecord?id=CVE-2020-15690"
]
},
"related_cves": [
{
"value": "CVE-2020-15690",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 354937,
"published_at": "2021-01-30T06:15:00+00:00"
}