Skip to content

Bump vulnerable dependencies - #2

Open
il-dependabot-remediator[bot] wants to merge 1 commit into
mainfrom
il-bot/dependabot-remediation
Open

il-dependabot-remediator[bot] wants to merge 1 commit into
mainfrom
il-bot/dependabot-remediation

Conversation

@il-dependabot-remediator

Copy link
Copy Markdown

Opened by the Dependabot remediator (run 20261117T215926Z). Only dependency manifests and lockfiles change, and every version stays within its current major.

Version changes

Package From To File
Microsoft.AspNetCore.Authentication.JwtBearer 5.0.0 5.0.9 src/SonarQubeTutorial.Api/SonarQubeTutorial.Api.csproj

Alerts addressed

Alert Package Severity Patched in Advisory
#1 Microsoft.AspNetCore.Authentication.JwtBearer medium 5.0.9 GHSA-q7cg-43mg-qp69

Supersedes

Gate

Build: pass · Tests: none

@checkmarx-gh-ast-us-app

Copy link
Copy Markdown

Logo
Checkmarx One – Scan Summary & Details – 55e9a618-79f0-4c33-9bda-e9fb9c8d1afe


New Issues (13 out of 13) Checkmarx found the following issues in this Pull Request

Severity: 1 High · 10 Medium · 2 Low

# Severity Issue Source File / Package Checkmarx Insight
1 HIGH Missing User Instruction Dockerfile.dev: 1
detailsAlways set a user in the runtime stage of your Dockerfile. Without it, the container defaults to root, even if earlier build stages define a user.
2 MEDIUM Apt Get Install Pin Version Not Defined Dockerfile.dev: 9
detailsWhen installing a package, its pin version should be defined
3 MEDIUM CVE-2024-21319 Nuget-System.IdentityModel.Tokens.Jwt-6.7.1
detailsRecommended version: 6.34.0
Description: The package "Microsoft.IdentityModel.Tokens" versions through 5.6.0, 6.5.0 through 6.33.0, and 7.0.0-preview through 7.1.0-preview are vulnerable t...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
4 MEDIUM CVE-2024-21319 Nuget-Microsoft.IdentityModel.JsonWebTokens-6.7.1
detailsRecommended version: 6.34.0
Description: The package "Microsoft.IdentityModel.Tokens" versions through 5.6.0, 6.5.0 through 6.33.0, and 7.0.0-preview through 7.1.0-preview are vulnerable t...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
5 MEDIUM CVE-2024-21319 Nuget-Microsoft.IdentityModel.Tokens-6.7.1
detailsRecommended version: 6.34.0
Description: The package "Microsoft.IdentityModel.Tokens" versions through 5.6.0, 6.5.0 through 6.33.0, and 7.0.0-preview through 7.1.0-preview are vulnerable t...
Attack Vector: NETWORK
Attack Complexity: LOW
Vulnerable Package
6 MEDIUM Container Capabilities Unrestricted docker-compose.yml: 4
detailsSome capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnec...
7 MEDIUM Container Traffic Not Bound To Host Interface docker-compose.yml: 6
detailsIncoming container traffic should be bound to a specific host interface
8 MEDIUM Healthcheck Not Set docker-compose.yml: 4
detailsCheck containers periodically to see if they are running properly.
9 MEDIUM Memory Not Limited docker-compose.yml: 4
detailsMemory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than ...
10 MEDIUM Missing_HSTS_Header src/SonarQubeTutorial.Api/Startup.cs: 17
detailsThe web-application does not define an HSTS header, leaving it vulnerable to attack.
Attack Vector
11 MEDIUM Security Opt Not Set docker-compose.yml: 4
detailsAttribute 'security_opt' should be defined.
12 LOW Cpus Not Limited docker-compose.yml: 4
detailsCPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests
13 LOW Healthcheck Instruction Missing Dockerfile.dev: 1
detailsEnsure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working

Use @Checkmarx to take action directly from this PR:

  • Rescan the PR

Try it: @Checkmarx how can you help? · @Checkmarx rescan this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants