Skip to content

Update github.com/gin-gonic/gin #318

Closed

Description

@kirill-scherba

Hi!

Could you please update the https://github.com/gin-gonic/gin. Github Dependabot send alerts to projects uses your nhooyr/websocket project because you use the https://github.com/gin-gonic/gin v1.6.3, but they need Patched version: 1.7.0.

See the message:

CVE-2020-28483
high severity
Vulnerable versions: < 1.7.0
Patched version: 1.7.0
This affects all versions of package https://github.com/gin-gonic/gin under 1.7.0. When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header.

I have use your https://github.com/nhooyr/websocket project in my https://github.com/kirill-scherba/teowebrtc project for make webrtc signaling client/server and this Github Dependabot alert is placed in my project page now :-)

I think you need just execute go get -u and publish new tag!

Thanks.
Best regards,
Kirill Scherba.

Activity

  1. kirill-scherba commented on Oct 2, 2021

    @kirill-scherba
    Author

    P.S. There is PR which fix this issue: #310

  2. added 3 commits that reference this issue on Oct 2, 2021
  3. oderwat commented on Nov 16, 2021

    @oderwat

    I actuallly wonder how this is "single dependency" with all the other modules needed :)

  4. prochac commented on Feb 4, 2023

    @prochac

    I'm also for the dependency removal, then struggle with its upgrades.
    It bothers both gin users or no.
    AFAIK it's used only for integration test.


    The same is about github.com/gobwas/ws and github.com/gorilla/websocket that are listed as dependency while they not.

  5. nhooyr commented on Feb 25, 2023

    @nhooyr
    Contributor

    All dependencies other than klauspost/compress are for tests alone. And dev has no dependencies whatsoever though I don't suggest running it in production yet.

  6. nhooyr commented on Mar 5, 2023

    @nhooyr
    Contributor

    I'll remove gin soon and move the third party tests into a different module so they don't show up and cause all this confusion.

  7. nhooyr commented on Mar 6, 2023

    @nhooyr
    Contributor

    Closing in favour of #297

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions