Vulnerabilities > CVE-2019-6498 - Out-of-bounds Read vulnerability in Labapart Gattlib 0.2

047910
CVSS 5.8 - MEDIUM
Attack vector
ADJACENT_NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
low complexity
labapart
CWE-125
exploit available

Summary

GattLib 0.2 has a stack-based buffer over-read in gattlib_connect in dbus/gattlib.c because strncpy is misused.

Vulnerable Configurations

Part Description Count
Application
Labapart
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Overread Buffers
    An adversary attacks a target by providing input that causes an application to read beyond the boundary of a defined buffer. This typically occurs when a value influencing where to start or stop reading is set to reflect positions outside of the valid memory location of the buffer. This type of attack may result in exposure of sensitive information, a system crash, or arbitrary code execution.

Exploit-Db

fileexploits/linux/remote/46215.rb
idEDB-ID:46215
last seen2019-01-21
modified2019-01-21
platformlinux
port
published2019-01-21
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/46215
titleGattLib 0.2 - Stack Buffer Overflow
typeremote

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/151252/gattlib02-overflow.txt
idPACKETSTORM:151252
last seen2019-01-22
published2019-01-21
reporterMishra Dhiraj
sourcehttps://packetstormsecurity.com/files/151252/GattLib-0.2-Stack-Buffer-Overflow.html
titleGattLib 0.2 Stack Buffer Overflow