Vulnerability Details : 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.
Vulnerability category: OverflowDenial of service
Exploit prediction scoring system (EPSS) score for CVE-2012-3461
Probability of exploitation activity in the next 30 days: 3.61%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 91 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2012-3461
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST |
CWE ids for CVE-2012-3461
-
The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2012-3461
-
http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
[security-announce] SUSE-SU-2012:1578-1: important: Security update for
-
https://bugzilla.redhat.com/show_bug.cgi?id=846377
846377 – (CVE-2012-3461) CVE-2012-3461 libotr: Multiple heap-based buffer overflows in the Base64 decoder
-
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
[OTR-dev] Is otrl_message_receiving returning 1 erroneously?
-
http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
[security-announce] openSUSE-SU-2012:1525-1: important: update for libot
-
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58
Off-the-Record Messaging / Git tools
-
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
#684121 - libotr2: Buffer overflows in libotr - Debian Bug report logs
-
http://www.securityfocus.com/bid/54907
libotr2 Package Multiple Heap Based Buffer Overflow Vulnerabilities
-
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435
Off-the-Record Messaging / Git tools
-
http://www.ubuntu.com/usn/USN-1541-1
USN-1541-1: libotr vulnerability | Ubuntu security notices
-
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1
Off-the-Record Messaging / Git tools
-
http://www.mandriva.com/security/advisories?name=MDVSA-2012:131
mandriva.com
-
http://www.debian.org/security/2012/dsa-2526
Debian -- Security Information -- DSA-2526-1 libotr
-
http://www.mandriva.com/security/advisories?name=MDVSA-2013:097
mandriva.com
-
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
[OTR-dev] otr file transfer
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/77528
libotr2 Base64 decoder buffer overflow CVE-2012-3461 Vulnerability Report
-
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html
[security-announce] openSUSE-SU-2013:0155-1: important: update for libot
Products affected by CVE-2012-3461
- cpe:2.3:a:cypherpunks:libotr:*:*:*:*:*:*:*:*
- cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:*