Non-maintainer upload by the Security Team.
* Non-maintainer upload by the Security Team.
* Off-by-one in _sasl_add_string function (CVE-2019-19906) (Closes: #947043)
Salvatore Bonaccorso authored 4 years ago
Roberto C. Sánchez committed 4 years ago
|
0 |
cyrus-sasl2 (2.1.27+dfsg-1+deb10u1) buster-security; urgency=high
|
|
1 |
|
|
2 |
* Non-maintainer upload by the Security Team.
|
|
3 |
* Off-by-one in _sasl_add_string function (CVE-2019-19906) (Closes: #947043)
|
|
4 |
|
|
5 |
-- Salvatore Bonaccorso <carnil@debian.org> Thu, 19 Dec 2019 22:59:30 +0100
|
|
6 |
|
0 | 7 |
cyrus-sasl2 (2.1.27+dfsg-1) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
[ Ryan Tandy ]
|
|
0 |
Description: CVE-2019-19906: Off-by-one in _sasl_add_string function
|
|
1 |
Origin: vendor
|
|
2 |
Bug: https://github.com/cyrusimap/cyrus-sasl/issues/587
|
|
3 |
Bug-Debian: https://bugs.debian.org/947043
|
|
4 |
Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2019-19906
|
|
5 |
Author: Stephan Zeisberg <stephan@srlabs.de>
|
|
6 |
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
|
|
7 |
Last-Update: 2019-12-19
|
|
8 |
|
|
9 |
--- a/lib/common.c
|
|
10 |
+++ b/lib/common.c
|
|
11 |
@@ -190,7 +190,7 @@ int _sasl_add_string(char **out, size_t
|
|
12 |
|
|
13 |
if (add==NULL) add = "(null)";
|
|
14 |
|
|
15 |
- addlen=strlen(add); /* only compute once */
|
|
16 |
+ addlen=strlen(add)+1; /* only compute once */
|
|
17 |
if (_buf_alloc(out, alloclen, (*outlen)+addlen)!=SASL_OK)
|
|
18 |
return SASL_NOMEM;
|
|
19 |
|
17 | 17 |
0033-cross.patch
|
18 | 18 |
0019-Stop-importing-docutils_version-in-sphinx-build-manp.patch
|
19 | 19 |
0020-Restore-LIBS-after-checking-gss_inquire_sec_context_.patch
|
|
20 |
0021-CVE-2019-19906.patch
|