aliasrobotics / RVD

Robot Vulnerability Database. An archive of robot vulnerabilities and bugs.
https://aliasrobotics.com
GNU General Public License v3.0
171 stars 31 forks source link

RVD#3269: CWE-120 (buffer), Does not check for buffer overflows (CWE-120)... @ mander/PreflightCheck.cpp:364 #3269

Closed rvd-bot closed 4 years ago

rvd-bot commented 4 years ago
id: 3269
title: 'RVD#3269: CWE-120 (buffer), Does not check for buffer overflows (CWE-120)...
  @ mander/PreflightCheck.cpp:364'
type: bug
description: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf,
  or vsnprintf. . Happening @ ...mander/PreflightCheck.cpp:364
cwe:
- CWE-120
cve: None
keywords:
- flawfinder
- flawfinder_level_4
- static analysis
- testing
- triage
- CWE-120
- bug
- 'version: v1.7.0'
- 'robot component: PX4'
- components software
system: ./Firmware/src/modules/commander/PreflightCheck.cpp:364:2
vendor: null
severity:
  rvss-score: 0
  rvss-vector: ''
  severity-description: ''
  cvss-score: 0
  cvss-vector: ''
links:
- https://github.com/aliasrobotics/RVD/issues/3269
flaw:
  phase: testing
  specificity: subject-specific
  architectural-location: application-specific
  application: N/A
  subsystem: N/A
  package: N/A
  languages: None
  date-detected: 2020-06-29 (21:02)
  detected-by: Alias Robotics
  detected-by-method: testing static
  date-reported: 2020-06-29 (21:02)
  reported-by: Alias Robotics
  reported-by-relationship: automatic
  issue: https://github.com/aliasrobotics/RVD/issues/3269
  reproducibility: always
  trace: (context) \tsprintf(s, %s%u, BARO_BASE_DEVICE_PATH, instance);
  reproduction: See artifacts below (if available)
  reproduction-image: gitlab.com/aliasrobotics/offensive/alurity/pipelines/active/pipeline_px4/-/jobs/616402716/artifacts/download
exploitation:
  description: ''
  exploitation-image: ''
  exploitation-vector: ''
  exploitation-recipe: ''
mitigation:
  description: Use sprintf_s, snprintf, or vsnprintf
  pull-request: ''
  date-mitigation: ''