CVE-2012-3461 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 befor...
MediumCVSS 4.3
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libotr(Debian:12) | < 3.2.1-1 | 3.2.1-1 |
| debian/libotr(Debian:13) | < 3.2.1-1 | 3.2.1-1 |
| debian/libotr(Debian:14) | < 3.2.1-1 | 3.2.1-1 |
| cypherpunks libotr | <= 3.2.0 | No fix listed |
| cypherpunks libotr | = 3.1.0 | No fix listed |
References
- Debian Security Tracker CVE-2012-3461 vendor-advisory
- bugs.debian.org
- [OTR-dev] 20120727 otrl_base64_otr_decode() function... mailing-list
- [OTR-dev] 20120727 Re: otrl_base64_otr_decode() function... mailing-list
- openSUSE-SU-2012:1525 vendor-advisory
- SUSE-SU-2012:1578 vendor-advisory
- openSUSE-SU-2013:0155 vendor-advisory
- otr.git.sourceforge.net
- otr.git.sourceforge.net
- otr.git.sourceforge.net
- DSA-2526 vendor-advisory
- MDVSA-2012:131 vendor-advisory
- MDVSA-2013:097 vendor-advisory
- 54907 vdb-entry
- USN-1541-1 vendor-advisory
- bugzilla.redhat.com
- libotr-base64-bo(77528) vdb-entry
- bugs.debian.org issue-tracking