Activity log for bug #1951983

Date Who What changed Old value New value Message
2021-11-23 16:05:53 Dwi Siswanto bug added bug
2021-11-23 17:34:21 Jeremy Stanley bug task added ossa
2021-11-23 17:34:33 Jeremy Stanley ossa: status New Incomplete
2021-11-23 17:35:20 Jeremy Stanley description # Summary nova contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). # Description ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting inefficient regular expressions which can perform extremely badly when run on a crafted input string. # Proof of Concept To see that the regular expression is vulnerable, copy-paste it into a separate file & run the code as shown in below. ```python import re log_remove_context = re.compile( r"(.)*LOG\.(.*)\(.*(context=[_a-zA-Z0-9].*)+.*\)") log_remove_context.match('LOG.' + '(' * 3456) ``` # Impact This issue may lead to a denial of service. # References - https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS This issue is being treated as a potential security risk under embargo. Please do not make any public mention of embargoed (private) security vulnerabilities before their coordinated publication by the OpenStack Vulnerability Management Team in the form of an official OpenStack Security Advisory. This includes discussion of the bug or associated fixes in public forums such as mailing lists, code review systems and bug trackers. Please also avoid private disclosure to other individuals not already approved for access to this information, and provide this same reminder to those who are made aware of the issue prior to publication. All discussion should remain confined to this private bug report, and any proposed fixes should be added to the bug as attachments. This embargo shall not extend past 2022-02-21 and will be made public by or on that date even if no fix is identified. # Summary nova contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). # Description ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting inefficient regular expressions which can perform extremely badly when run on a crafted input string. # Proof of Concept To see that the regular expression is vulnerable, copy-paste it into a separate file & run the code as shown in below. ```python import re log_remove_context = re.compile(     r"(.)*LOG\.(.*)\(.*(context=[_a-zA-Z0-9].*)+.*\)") log_remove_context.match('LOG.' + '(' * 3456) ``` # Impact This issue may lead to a denial of service. # References - https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
2021-11-23 17:35:50 Jeremy Stanley bug added subscriber Nova Core security contacts
2021-11-23 18:31:51 Jeremy Stanley information type Private Security Public
2021-11-23 18:32:04 Jeremy Stanley description This issue is being treated as a potential security risk under embargo. Please do not make any public mention of embargoed (private) security vulnerabilities before their coordinated publication by the OpenStack Vulnerability Management Team in the form of an official OpenStack Security Advisory. This includes discussion of the bug or associated fixes in public forums such as mailing lists, code review systems and bug trackers. Please also avoid private disclosure to other individuals not already approved for access to this information, and provide this same reminder to those who are made aware of the issue prior to publication. All discussion should remain confined to this private bug report, and any proposed fixes should be added to the bug as attachments. This embargo shall not extend past 2022-02-21 and will be made public by or on that date even if no fix is identified. # Summary nova contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). # Description ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting inefficient regular expressions which can perform extremely badly when run on a crafted input string. # Proof of Concept To see that the regular expression is vulnerable, copy-paste it into a separate file & run the code as shown in below. ```python import re log_remove_context = re.compile(     r"(.)*LOG\.(.*)\(.*(context=[_a-zA-Z0-9].*)+.*\)") log_remove_context.match('LOG.' + '(' * 3456) ``` # Impact This issue may lead to a denial of service. # References - https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS # Summary nova contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). # Description ReDoS, or Regular Expression Denial of Service, is a vulnerability affecting inefficient regular expressions which can perform extremely badly when run on a crafted input string. # Proof of Concept To see that the regular expression is vulnerable, copy-paste it into a separate file & run the code as shown in below. ```python import re log_remove_context = re.compile(     r"(.)*LOG\.(.*)\(.*(context=[_a-zA-Z0-9].*)+.*\)") log_remove_context.match('LOG.' + '(' * 3456) ``` # Impact This issue may lead to a denial of service. # References - https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
2021-11-23 18:32:21 Jeremy Stanley ossa: status Incomplete Won't Fix
2021-11-30 15:01:21 Sylvain Bauza nova: status New Won't Fix