Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.03] Backport telegram-desktop to fix CVE-2020-17448 #96843

Merged
merged 10 commits into from Sep 25, 2020

Conversation

primeos
Copy link
Member

@primeos primeos commented Aug 31, 2020

Motivation for this change

Warning: I only verified that this builds, I didn't test if everything still works.

Merging this PR would fix #96823. But for what it's worth Debian isn't fixing this or previous CVEs for Buster:
https://security-tracker.debian.org/tracker/source-package/telegram-desktop
Details are here.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

primeos and others added 10 commits August 31, 2020 16:22
Regarding microsoft_gsl: The CMake scripts from Telegram-Desktop did not
find it anymore (I didn't investigate this) and Arch already made this
change during the last update. It's probably best to do the same here
especially since Telegram-Desktop is currently based on GSL 3.0.1 while
our version is still at 2.1.0.

(cherry picked from commit e9e2f81)
(cherry picked from commit 69dc7e6)
(cherry picked from commit 22fef8e)
(cherry picked from commit 6e5b1a7)
(cherry picked from commit 6d923b3)
(cherry picked from commit 7ef22b9)
(cherry picked from commit a1aecff)
(cherry picked from commit b713e97)
(cherry picked from commit 10b11fe)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vulnerability roundup 92: telegram-desktop-2.1.0: 1 advisory [7.8]
3 participants