CVE-2012-3461
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.4% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 3.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Cypherpunks Libotr ≤ 3.2.0
- Cypherpunks Libotr 3.1.0
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-3461.md and follow it. Check whether this project is affected by CVE-2012-3461. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
- 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=1902baee5d4b056850274ed0fa8c2409f1187435
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58
- http://www.debian.org/security/2012/dsa-2526
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:131
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:097
- http://www.securityfocus.com/bid/54907
- http://www.ubuntu.com/usn/USN-1541-1
- https://bugzilla.redhat.com/show_bug.cgi?id=846377
- https://exchange.xforce.ibmcloud.com/vulnerabilities/77528
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
- http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
- 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=1902baee5d4b056850274ed0fa8c2409f1187435
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58