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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:cypherpunks:libotr:*:*:*:*:*:*:*:*
cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:*

History

13 Feb 2023, 00:25

Type Values Removed Values Added
References
  • {'url': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58', 'name': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58', 'tags': ['Exploit', 'Patch'], 'refsource': 'CONFIRM'}
  • {'url': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1', 'name': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1', 'tags': ['Exploit', 'Patch'], 'refsource': 'CONFIRM'}
  • {'url': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435', 'name': 'http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435', 'tags': ['Exploit', 'Patch'], 'refsource': 'CONFIRM'}
  • (MISC) http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1 -
  • (MISC) http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435 -
  • (MISC) http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58 -

Information

Published : 2012-08-20 19:55

Updated : 2023-12-10 11:16


NVD link : CVE-2012-3461

Mitre link : CVE-2012-3461

CVE.ORG link : CVE-2012-3461


JSON object : View

Products Affected

cypherpunks

  • libotr
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer