Title: Fix ReDoS (GHSL-2021-110) by kevinbackhouse · Pull Request #243 · python-validators/validators · GitHub
Open Graph Title: Fix ReDoS (GHSL-2021-110) by kevinbackhouse · Pull Request #243 · python-validators/validators
X Title: Fix ReDoS (GHSL-2021-110) by kevinbackhouse · Pull Request #243 · python-validators/validators
Description: Python Data Validation for Humans™. Contribute to python-validators/validators development by creating an account on GitHub.
Open Graph Description: Remove two + characters from the regex. They don't make any difference to the string that the regex can match, but they're causing a ReDoS. I've also added a regression test for the ReDoS.
X Description: Remove two + characters from the regex. They don't make any difference to the string that the regex can match, but they're causing a ReDoS. I've also added a regression test for the ReDoS.
Opengraph URL: https://github.com/python-validators/validators/pull/243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:3ee00fc9-4781-b048-197d-eafd7351398e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D638:7802B:10407F1:149C5FF:69902613 |
| html-safe-nonce | 4ed143e8e45d203570461c88a28c61da8b9cc77ac04251ebaaba97c1c6f255e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjM4Ojc4MDJCOjEwNDA3RjE6MTQ5QzVGRjo2OTkwMjYxMyIsInZpc2l0b3JfaWQiOiIyNjA3NzU1NTE2NTU4OTc2NTMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9ef19951fa1594a23762395a9ce1b67f9733897221931253d5104a768c47eb1d |
| hovercard-subject-tag | pull_request:1278355044 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-validators/validators/pull/243/commits |
| twitter:image | https://opengraph.githubassets.com/f6d6e403a7e4bb12c3f9a45bc8f832a7edb75719a774474ceeef0267128b880b/python-validators/validators/pull/243 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6d6e403a7e4bb12c3f9a45bc8f832a7edb75719a774474ceeef0267128b880b/python-validators/validators/pull/243 |
| og:image:alt | Remove two + characters from the regex. They don't make any difference to the string that the regex can match, but they're causing a ReDoS. I've also added a regression test for the ReDoS. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevinbackhouse |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/python-validators/validators git https://github.com/python-validators/validators.git |
| octolytics-dimension-user_id | 113113270 |
| octolytics-dimension-user_login | python-validators |
| octolytics-dimension-repository_id | 13642984 |
| octolytics-dimension-repository_nwo | python-validators/validators |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13642984 |
| octolytics-dimension-repository_network_root_nwo | python-validators/validators |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width