A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
An issue was discovered in OpenSatKit 2.2.1. The DirName field in the telecommand is provided by the ground segment and must be treated as untrusted input. The program copies DirName into the local buffer DirWithSep using strcpy. The size of this buffer is OS_MAX_PATH_LEN. If the length of DirName is greater than or equal to OS_MAX_PATH_LEN, a stack buffer overflow occurs, overwriting adjacent stack memory. The path length check (FileUtil_AppendPathSep) is performed after the strcpy operation, meaning the validation occurs too late and cannot prevent the overflow.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Opensatkit opensatkit
Weakness type
References
- gist.github.com /jonafk555
- github.com /OpenSatKit/OpenSatKit
- github.com /OpenSatKit/OpenSatKit/releases/tag/v2.2.1
- raw.githubusercontent.com /OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/dir.c
- raw.githubusercontent.com /OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/dir.c
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning