swagger-api / swagger-api/swagger-ui

Upgrade nginx base image in DockerFile

Open
#10,151 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

The nginx base image version 1.27.0-alpine has some critical vulnerabilities, so please upgrade the base image of nginx in the DockerFile and upgrade the docker image version of the swagger-ui

The vulnerabilities using the v5.17.14 is mentioned in the screenshot
image

These vulnerabilities are mainly in the nginx 1.27.0-alpine docker image like this
image

The nginx 1.27.0-alpine doesn't have much vulnerabilities
image

So please upgrade the nginx docker image to 1.27.0-alpine

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the repository's Dockerfile and checking the current nginx and swagger-ui image versions against the issue text and vulnerability screenshots. Resolve the contradictory nginx target and identify the intended secure versions, then verify the updated images with the project's available build or image-scan checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, nginx
Domain
devops, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.