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: 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.
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 | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:2a9212bc-410a-8bcf-3753-ef4051cd8284 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B9C2:4E5ED:4DDA50:6B18EB:698EF6DD |
| html-safe-nonce | 2e4dddd844abb5565eb88c723b8349e4879d44d823eb66863851f3d8fd2ff887 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUMyOjRFNUVEOjREREE1MDo2QjE4RUI6Njk4RUY2REQiLCJ2aXNpdG9yX2lkIjoiOTE0OTk3ODA5MTI4MzQ3ODIzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 038bd9f20acf0689594b0dca92f55b0efe1fe812cfc3608e76d07a3e7c07c48a |
| 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/_view_fragments/voltron/pull_requests/show/python-validators/validators/243/pull_request_layout |
| 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 | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| turbo-cache-control | no-preview |
| 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 | bc36007ff5167349dcfee9a75c7fa7184ab272c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width