go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.98k stars 1.33k forks source link

security: update mimetype dependency to new secure version #1291

Open 9ssi7 opened 4 months ago

9ssi7 commented 4 months ago

Package version v10:

Issue, Question or Enhancement:

A critical security update has been released for the golang.org/x/net package.

Here are the details: https://github.com/advisories/GHSA-4v7x-pqxf-cx7m

The important part here is that the problem persists in versions 0.23.0 and below.

This problem persists with the mimetype package v1.4.3, and this problem has been resolved in v1.4.4. Check release notes for details https://github.com/gabriel-vasile/mimetype/releases/tag/v1.4.4.

What to do:

go get github.com/gabriel-vasile/mimetype@v1.4.4
Screenshot 2024-07-19 at 10 08 12