CVE-2021-36762
JSON

7.5high

An issue was discovered in HCC Embedded InterNiche NicheStack through 4.3.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.30% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

An issue was discovered in HCC Embedded InterNiche NicheStack through 4.3. The tfshnd():tftpsrv.c TFTP packet processing function doesn't ensure that a filename is adequately '\0' terminated; therefore, a subsequent call to strlen for the filename might read out of bounds of the protocol packet buffer (if no '\0' byte exists within a reasonable range).

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
hcc-embedded nichestackbefore 4.3NVD

All scores

NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.8high CVSS:2.0AV:N/AC:L/Au:N/C:C/I:N/A:N

What each source says

CVE List

An issue was discovered in HCC Embedded InterNiche NicheStack through 4.3. The tfshnd():tftpsrv.c TFTP packet processing function doesn't ensure that a filename is adequately '\0' terminated; therefore, a subsequent call to strlen for the filename might read out of bounds of the protocol packet buffer (if no '\0' byte exists within a reasonable range).

NVD (es)

Se ha detectado un problema en HCC Embedded InterNicheStack versiones hasta 4.3. La función packet processing TFTP tfshnd():tftpsrv.c no asegura que un nombre de archivo esté apropiadamente terminado en "\0"; por lo tanto, una llamada posterior a strlen para el nombre de archivo podría leer fuera de límites del búfer de paquetes del protocolo (si no presenta ningún byte "\0" dentro de un rango razonable).

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36762 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-36762 changed 2026-06-17Public domain