Skip to content

Develop - #699

Merged
ShaneIsrael merged 3 commits into
mainfrom
develop
Aug 28, 2026
Merged

Develop#699
ShaneIsrael merged 3 commits into
mainfrom
develop

Conversation

@ShaneIsrael

Copy link
Copy Markdown
Owner

This pull request improves the custom poster upload process, enhances LDAP username handling for authentication, and updates the package version. The main changes focus on making file handling safer during poster uploads and improving security for LDAP logins.

Custom Poster Upload Improvements:

  • The poster image conversion process in upload_custom_poster now uses a temporary file within derived_dir to ensure atomic replacement and prevent corruption of custom_poster.webp if ffmpeg fails. The code also checks for empty output files and sets correct file permissions before replacing the final poster.

LDAP Authentication Security:

  • Usernames are now escaped using ldap.filter.escape_filter_chars in LDAP filter construction to prevent LDAP injection vulnerabilities.
  • Added import of ldap.filter to support the escaping function.

Versioning:

  • Bumped the fireshare client package version from 1.7.7 to 1.7.8.

wenbo222 and others added 3 commits August 28, 2026 14:07
I have applied the fix described in the vulnerability report GHSA-j6gq-jchg-q883.
Update auth.py to fix LDAP injection vulnerability
… file is promoted to custom_poster.webp with os.replace only when ffmpeg exits 0 and produced a non-empty file.
@ShaneIsrael
ShaneIsrael merged commit 15bc3d1 into main Aug 28, 2026
9 checks passed
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.

2 participants