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 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | libotr | Fixed | 3.2.1-1 | DEBIAN-CVE-2012-3461 |
| Debian 13 | libotr | Fixed | 3.2.1-1 | DEBIAN-CVE-2012-3461 |
| Debian 12 | libotr | Fixed | 3.2.1-1 | DEBIAN-CVE-2012-3461 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2012/dsa-2526 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:097 (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:131 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1541-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html (vendor-advisory)
References
- http://www.debian.org/security/2012/dsa-2526
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77528
- https://bugzilla.redhat.com/show_bug.cgi?id=846377
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:097
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:131
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
- http://www.ubuntu.com/usn/USN-1541-1
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435
- http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.