Skip to content

gevent version upgrade for vulnerability issue#6795

Merged
nischalstha9 merged 2 commits intodevelopfrom
fix/gevent-vulnerability
Apr 1, 2025
Merged

gevent version upgrade for vulnerability issue#6795
nischalstha9 merged 2 commits intodevelopfrom
fix/gevent-vulnerability

Conversation

@prabinoid
Copy link
Copy Markdown
Collaborator

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧑‍💻 Refactor
  • ✅ Test
  • 🤖 Build or CI
  • ❓ Other (please specify)

Describe this PR

gevent version upgraded from 22.10.2 to 23.9.0 to fix the vulnerability issue arising while container scan.

Screenshots

Screenshot 2025-04-01 at 11 54 50

Comment thread Dockerfile Outdated
postgresql-client libgeos3.11.1 proj-bin curl && \
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY --from=build \
COPY --from=build --chown=appuser:appuser \
Copy link
Copy Markdown
Contributor

@nischalstha9 nischalstha9 Apr 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have SonarQube quality fail for this copy stage. can you add following to restrict write to user only.

COPY  --from=build --chown=appuser:appuser --chmod=755 <src> <dest>

REF: https://sonarcloud.io/organizations/hotosm/rules?open=docker%3AS6504&rule_key=docker%3AS6504&tab=how_to_fix

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 1, 2025

@nischalstha9 nischalstha9 merged commit 6adde97 into develop Apr 1, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants