ID

VAR-202106-0921


CVE

CVE-2021-21281


TITLE

Contiki-NG  Buffer Overflow Vulnerability in Linux

Trust: 0.8

sources: JVNDB: JVNDB-2021-008308

DESCRIPTION

Contiki-NG is an open-source, cross-platform operating system for internet of things devices. A buffer overflow vulnerability exists in Contiki-NG versions prior to 4.6. After establishing a TCP socket using the tcp-socket library, it is possible for the remote end to send a packet with a data offset that is unvalidated. The problem has been patched in Contiki-NG 4.6. Users can apply the patch for this vulnerability out-of-band as a workaround. Contiki-NG Contains a classic buffer overflow vulnerability.Information is obtained, information is tampered with, and service is disrupted (DoS) It may be put into a state. The vulnerability stems from unverified TCP data offset. An attacker can use this vulnerability to cause a denial of service. Pillow is a Python-based image processing library. There is currently no information about this vulnerability, please feel free to follow CNNVD or manufacturer announcements

Trust: 3.24

sources: NVD: CVE-2021-21281 // JVNDB: JVNDB-2021-008308 // CNVD: CNVD-2021-44272 // CNNVD: CNNVD-202104-975 // CNNVD: CNNVD-202106-1427

IOT TAXONOMY

category:['IoT']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2021-44272

AFFECTED PRODUCTS

vendor:contiki ngmodel:contiki-ngscope:ltversion:4.6

Trust: 1.6

vendor:contiki ngmodel:contiki-ngscope:eqversion: -

Trust: 0.8

vendor:contiki ngmodel:contiki-ngscope:eqversion:4.6

Trust: 0.8

sources: CNVD: CNVD-2021-44272 // JVNDB: JVNDB-2021-008308 // NVD: CVE-2021-21281

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2021-21281
value: CRITICAL

Trust: 1.0

security-advisories@github.com: CVE-2021-21281
value: HIGH

Trust: 1.0

NVD: CVE-2021-21281
value: CRITICAL

Trust: 0.8

CNVD: CNVD-2021-44272
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-202104-975
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-202106-1427
value: CRITICAL

Trust: 0.6

nvd@nist.gov: CVE-2021-21281
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2021-44272
severity: MEDIUM
baseScore: 6.6
vectorString: AV:N/AC:H/AU:N/C:P/I:P/A:C
accessVector: NETWORK
accessComplexity: HIGH
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: COMPLETE
exploitabilityScore: 4.9
impactScore: 8.5
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2021-21281
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 3.9
impactScore: 5.9
version: 3.1

Trust: 1.0

security-advisories@github.com: CVE-2021-21281
baseSeverity: HIGH
baseScore: 7.0
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
attackVector: NETWORK
attackComplexity: HIGH
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: LOW
integrityImpact: LOW
availabilityImpact: HIGH
exploitabilityScore: 2.2
impactScore: 4.7
version: 3.1

Trust: 1.0

NVD: CVE-2021-21281
baseSeverity: CRITICAL
baseScore: 9.8
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attackVector: NETWORK
attackComplexity: LOW
privilegesRequired: NONE
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2021-44272 // JVNDB: JVNDB-2021-008308 // CNNVD: CNNVD-202104-975 // CNNVD: CNNVD-202106-1427 // NVD: CVE-2021-21281 // NVD: CVE-2021-21281

PROBLEMTYPE DATA

problemtype:CWE-120

Trust: 1.0

problemtype:Classic buffer overflow (CWE-120) [ Other ]

Trust: 0.8

sources: JVNDB: JVNDB-2021-008308 // NVD: CVE-2021-21281

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-202106-1427

TYPE

other

Trust: 0.6

sources: CNNVD: CNNVD-202104-975

PATCH

title:Verify the TCP data offset to avoid uip_len overflows. #1366 GitHuburl:https://github.com/contiki-ng/contiki-ng/pull/1366

Trust: 0.8

title:Patch for Contiki-NG buffer overflow vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/274521

Trust: 0.6

title:Contiki-NG Buffer error vulnerability fixurl:http://www.cnnvd.org.cn/web/xxk/bdxqById.tag?id=155317

Trust: 0.6

sources: CNVD: CNVD-2021-44272 // JVNDB: JVNDB-2021-008308 // CNNVD: CNNVD-202106-1427

EXTERNAL IDS

db:NVDid:CVE-2021-21281

Trust: 3.8

db:JVNDBid:JVNDB-2021-008308

Trust: 0.8

db:CNVDid:CNVD-2021-44272

Trust: 0.6

db:CS-HELPid:SB2021041363

Trust: 0.6

db:CNNVDid:CNNVD-202104-975

Trust: 0.6

db:CS-HELPid:SB2021062407

Trust: 0.6

db:CNNVDid:CNNVD-202106-1427

Trust: 0.6

sources: CNVD: CNVD-2021-44272 // JVNDB: JVNDB-2021-008308 // CNNVD: CNNVD-202104-975 // CNNVD: CNNVD-202106-1427 // NVD: CVE-2021-21281

REFERENCES

url:https://github.com/contiki-ng/contiki-ng/security/advisories/ghsa-mc42-fqfr-h9fp

Trust: 1.6

url:https://github.com/contiki-ng/contiki-ng/pull/1366

Trust: 1.6

url:https://nvd.nist.gov/vuln/detail/cve-2021-21281

Trust: 1.4

url:https://www.cybersecurity-help.cz/vdb/sb2021041363

Trust: 0.6

url:https://www.cybersecurity-help.cz/vdb/sb2021062407

Trust: 0.6

sources: CNVD: CNVD-2021-44272 // JVNDB: JVNDB-2021-008308 // CNNVD: CNNVD-202104-975 // CNNVD: CNNVD-202106-1427 // NVD: CVE-2021-21281

SOURCES

db:CNVDid:CNVD-2021-44272
db:JVNDBid:JVNDB-2021-008308
db:CNNVDid:CNNVD-202104-975
db:CNNVDid:CNNVD-202106-1427
db:NVDid:CVE-2021-21281

LAST UPDATE DATE

2024-08-14T12:51:29.919000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2021-44272date:2021-06-23T00:00:00
db:JVNDBid:JVNDB-2021-008308date:2022-03-11T08:51:00
db:CNNVDid:CNNVD-202104-975date:2021-04-14T00:00:00
db:CNNVDid:CNNVD-202106-1427date:2021-06-28T00:00:00
db:NVDid:CVE-2021-21281date:2021-06-24T16:47:39.667

SOURCES RELEASE DATE

db:CNVDid:CNVD-2021-44272date:2021-06-23T00:00:00
db:JVNDBid:JVNDB-2021-008308date:2022-03-11T00:00:00
db:CNNVDid:CNNVD-202104-975date:2021-04-13T00:00:00
db:CNNVDid:CNNVD-202106-1427date:2021-06-18T00:00:00
db:NVDid:CVE-2021-21281date:2021-06-18T21:15:07.850