Out-of-Bounds Affecting libotr package, versions <3.2.1-1


Severity

Recommended
0.0
medium
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
3.61% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-LIBOTR-5684829
  • published20 Aug 2012
  • disclosed20 Aug 2012

Introduced: 20 Aug 2012

CVE-2012-3461  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Debian:13 libotr to version 3.2.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libotr package and not the libotr package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value "?OTR:===.", which triggers a heap-based buffer overflow.

References

CVSS Scores

version 3.1