MTES-MCT / camino

Le cadastre minier numérique ouvert
https://camino.beta.gouv.fr
GNU Affero General Public License v3.0
2 stars 2 forks source link

[Snyk] Security upgrade python from 3.7 to 3.12.3 #1233

Closed tristanrobert closed 3 weeks ago

tristanrobert commented 3 weeks ago

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) ### Snyk has created this PR to fix 2 vulnerabilities in the dockerfile dependencies of this project. Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image. #### Snyk changed the following file(s): - `Dockerfile.openfisca` We recommend upgrading to `python:3.12.3`, as this image has only **205** known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected. #### Vulnerabilities that will be fixed with an upgrade: | | Issue | Score | :-------------------------:|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN12-GLIBC-5927132](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132) |   **823**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN12-GLIBC-5927132](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132) |   **823**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN12-GLIBC-5927132](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132) |   **823**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Out-of-bounds Write
[SNYK-DEBIAN12-GLIBC-5927132](https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-5927132) |   **823**   ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png 'high severity') | Resource Exhaustion
[SNYK-DEBIAN12-NGHTTP2-5953379](https://snyk.io/vuln/SNYK-DEBIAN12-NGHTTP2-5953379) |   **561**   --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - Max score is 1000. Note that the real score may have changed since the PR was raised. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._ For more information: 🧐 [View latest project report](https://app.snyk.io/org/mtes-mct/project/c5dde521-c740-45d1-afb7-ca2c5b5990b1?utm_source=github&utm_medium=referral&page=fix-pr) 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) 🛠 [Adjust project settings](https://app.snyk.io/org/mtes-mct/project/c5dde521-c740-45d1-afb7-ca2c5b5990b1?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Resource Exhaustion](https://learn.snyk.io/lesson/redos/?loc=fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"python","from":"3.7","to":"3.12.3"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Mature","id":"SNYK-DEBIAN12-GLIBC-5927132","priority_score":823,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"high"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"low"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"local"},{"name":"epss","value":0.01388},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Oct 04 2023 01:00:04 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":9.79},{"name":"likelihood","value":8.4},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN12-GLIBC-5927132","priority_score":823,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"high"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"low"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"local"},{"name":"epss","value":0.01388},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Oct 04 2023 01:00:04 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":9.79},{"name":"likelihood","value":8.4},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN12-GLIBC-5927132","priority_score":823,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"high"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"low"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"local"},{"name":"epss","value":0.01388},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Oct 04 2023 01:00:04 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":9.79},{"name":"likelihood","value":8.4},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN12-GLIBC-5927132","priority_score":823,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"high"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"low"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"local"},{"name":"epss","value":0.01388},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Oct 04 2023 01:00:04 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":9.79},{"name":"likelihood","value":8.4},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Out-of-bounds Write"},{"exploit_maturity":"Mature","id":"SNYK-DEBIAN12-NGHTTP2-5953379","priority_score":561,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"high"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.72011},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Oct 11 2023 01:07:39 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":0},{"name":"impact","value":5.99},{"name":"likelihood","value":9.35},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Resource Exhaustion"}],"prId":"e1924733-ffa2-4cd8-8894-fa2131de2055","prPublicId":"e1924733-ffa2-4cd8-8894-fa2131de2055","packageManager":"dockerfile","priorityScoreList":[823,561],"projectPublicId":"c5dde521-c740-45d1-afb7-ca2c5b5990b1","projectUrl":"https://app.snyk.io/org/mtes-mct/project/c5dde521-c740-45d1-afb7-ca2c5b5990b1?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-DEBIAN12-GLIBC-5927132","SNYK-DEBIAN12-GLIBC-5927132","SNYK-DEBIAN12-GLIBC-5927132","SNYK-DEBIAN12-GLIBC-5927132","SNYK-DEBIAN12-NGHTTP2-5953379"],"vulns":["SNYK-DEBIAN12-GLIBC-5927132","SNYK-DEBIAN12-NGHTTP2-5953379"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'
codecov-commenter commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.08%. Comparing base (0a85612) to head (708bb3b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1233 +/- ## ======================================= Coverage 79.08% 79.08% ======================================= Files 773 773 Lines 92354 92354 Branches 6116 6115 -1 ======================================= Hits 73042 73042 Misses 19181 19181 Partials 131 131 ``` | [Flag](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | Coverage Δ | | |---|---|---| | [api](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `74.26% <ø> (ø)` | | | [api-integration](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `66.77% <ø> (ø)` | | | [api-unit](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `36.03% <ø> (ø)` | | | [common](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `94.68% <ø> (ø)` | | | [ui](https://app.codecov.io/gh/MTES-MCT/camino/pull/1233/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT) | `75.32% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=MTES-MCT#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.