CVE-2025-70085 An issue was discovered in OpenSatKit 2.2.1. The EventErrStr buffer has a fixed size of 256 bytes.…
설명
An issue was discovered in OpenSatKit 2.2.1. The EventErrStr buffer has a fixed size of 256 bytes. The code uses sprintf to format two filenames (Source1Filename and the string returned by FileUtil_FileStateStr) into this buffer without any length checking and without using bounded format specifiers such as %.*s. If the filename length approaches OS_MAX_PATH_LEN (commonly 64-256 bytes), the combined formatted string together with constant text can exceed 256 bytes, resulting in a stack buffer overflow. Such unsafe sprintf calls are scattered across multiple functions in file.c, including FILE_ConcatenateCmd() and ConcatenateFiles(), all of which fail to validate the output length.
영향 받는 제품 제품 1개
-
NVD 기준
opensatkit
opensatkit
영향 받는 버전
- 2.2.1
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- gist.github.com https://gist.github.com/jonafk555 (새 창)
- github.com https://github.com/OpenSatKit/OpenSatKit (새 창)
- github.com https://github.com/OpenSatKit/OpenSatKit/releases/tag/v2.2.1 (새 창)
- raw.githubusercontent.com https://raw.githubusercontent.com/OpenSatKit/OpenSatKit/master/cfs/apps/filemgr/fsw/src/file.c (새 창)