Lemmy Release v0.19.18 - 2 security fixes

4 months ago by Florencia (she/her) to c/main

With this version user badges are always shown next to usernames. There are also various bug fixes, and again security fixes

  • Display UserBadges for Bot, Banned and Deleted users in all PersonListings by @MrKaplan-lw in #4035
  • Increase timeouts for db pool by @nutomic in #6441
  • Add private IP check for webmention by @nutomic in #6444
  • Proper fix for nested comment fetch by @nutomic in #6451

Security

  • Lemmy allows an authenticated low-privileged user to create a link post through POST /api/v3/post. When a post is created in a public community, the backend asynchronously sends a Webmention to the attacker-controlled link target. The submitted URL is checked for syntax and scheme, but the audited code path does not reject loopback, private, or link-local destinations before the Webmention request is issued. This lets a normal user trigger server-side HTTP requests toward internal services. https://github.com/...
  • Lemmy fetches metadata for user-supplied post URLs and, under the default StoreLinkPreviews image mode, downloads the preview image through local pict-rs. While the top-level page URL is checked against internal IP ranges, the extracted og:image URL is not subject to the same restriction. As a result, an authenticated low-privileged user can submit an attacker-controlled public page whose Open Graph image points to an internal image endpoint. Lemmy will fetch that internal image server-side and store a local thumbnail that can then be served back to users. https://github.com/...
ada 3 points 4 months ago

Updated!

path: 0 23430339, hotness: undefined, score: 3, children: 0
main
main

@lemmy.blahaj.zone

login for more options
2944
393
847

Blåhaj Lemmy is a Lemmy instance attached to blahaj.zone. This is a group for questions or discussions relevant to either instance.

go to feed...