splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Potential catastrophic backtracking vulnerability

Open dvasquez-7 opened this issue 5 years ago • 5 comments

Hello,

I'm a security researcher at Sonatype, and I discovered a potential vulnerability in this project. Do you have a preferred way for me to share the details privately, or do you want me to just show you what I've got on this GitHub issue?

dvasquez-7 avatar Jun 17 '21 20:06 dvasquez-7

Please submit to https://www.splunk.com/en_us/product-security/report.html#tabs/tabparsystabsProfessionalSecurityResearchers5 or [email protected]

kylebambrick avatar Jul 02 '21 16:07 kylebambrick

@dvasquez-7 we recently addressed a catastrophic backtracking issue, does this resolve your issue or is this a new concern? https://github.com/splunk/splunk-sdk-python/issues/309

fantavlik avatar Jul 02 '21 21:07 fantavlik

It is a new concern related to the issue you resolved.

dvasquez-7 avatar Jul 06 '21 18:07 dvasquez-7

I have now submitted the issue to the link above.

dvasquez-7 avatar Jul 06 '21 18:07 dvasquez-7

After looking over your reproduction code, I believe the issue has been addressed by the change I referenced above. For previous versions of the SDK the reproduction code would exhibit backtracking and hang. (code omitted for security concerns)

For version https://github.com/splunk/splunk-sdk-python/releases/tag/1.6.16 and later the regex search returns as expected. I'm closing the issue - please comment if you see different behavior or have a different reproduction case for us to take a look at.

fantavlik avatar Aug 25 '21 19:08 fantavlik