-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Off by one in _sasl_add_string function #587
Comments
Fyi, was originally reported to us and diagnosed here http://www.openldap.org/its/index.cgi/Incoming?id=9123 |
If we can have a new release with a solution for this problem... |
CVE-2019-19906 was assigned for this issue. |
Off by one error in common.c, CVE-2019-19906. Thanks to Stephan Zeisberg for reporting
Off by one error in common.c, CVE-2019-19906. Thanks to Stephan Zeisberg for reporting
Off by one error in common.c, CVE-2019-19906. Thanks to Stephan Zeisberg for reporting
Issue cyrusimap#587 was not solved correct. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message.
Issue cyrusimap#587 was not solved correct. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Guido Kiener <[email protected]>
Issue #587 was not solved correct. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Guido Kiener <[email protected]>
I see the @GuidoKiener 's fix that was merged is on code that already existed in 2.1.25. |
Issue cyrusimap#587 was not solved correctly. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Howard Chu <[email protected]>
Issue cyrusimap#587 was not solved correctly. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Howard Chu <[email protected]>
Just a cleaned up version of the fix. Signed-off-by: Howard Chu <[email protected]>
Just a cleaned up version of the fix. Signed-off-by: Howard Chu <[email protected]>
Issue #587 was not solved correct. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Guido Kiener <[email protected]>
Just a cleaned up version of the fix. Signed-off-by: Howard Chu <[email protected]>
Issue #587 was not solved correct. _sasl_add_string adds zero terminator to the output string. This cuts log messages after the first '%s' of the format string. With the fix the function _sasl_log now logs the complete message. Signed-off-by: Guido Kiener <[email protected]>
Just a cleaned up version of the fix. Signed-off-by: Howard Chu <[email protected]>
Will we see a release soon with this fix? CVE-2019-19906 has a base score of high. We are in the process of addressing this in OpenWrt with a local patch: openwrt/packages#17114 |
There's one remaining security issue open that needs addressing before a new release. |
Dear Cyrus SASL team —
During tests against openldap 2.4.48, I have detected an off-by-one error in _sasl_add_string function. In case of openldap this bug can cause a denial-of-service condition or has other unspecified impact.
Valgrind output from openldap
Patch
Please let me know what additional information I can provide to fix the issue.
-Stephan Zeisberg
The text was updated successfully, but these errors were encountered: