Skip to content

Comments

claws-mail: patch mailto handling#95800

Merged
ajs124 merged 1 commit intoNixOS:masterfrom
oxzi:claws-mail-mailto
Sep 15, 2020
Merged

claws-mail: patch mailto handling#95800
ajs124 merged 1 commit intoNixOS:masterfrom
oxzi:claws-mail-mailto

Conversation

@oxzi
Copy link
Member

@oxzi oxzi commented Aug 19, 2020

Motivation for this change

The "Mailto: Me Your Secrets" paper describes vulnerabilities in
multiple email clients regarding the undocumented "attach" field of a
mailto URI. This might allow the inclusion of sensitive data in an
outgoing email.

Pull request #95758 addresses this issue on a more general level.

Claws Mail unfortunately also has problems with mailto URIs (bug 4373, bug 4374).
Referring to the paper, problems for "attach" and "insert" were found
and fixed. These patches, which are not included in a release yet, are
hereby added.

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.

@ofborg ofborg bot requested review from fpletz and globin August 19, 2020 21:07
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Aug 19, 2020
@ajs124 ajs124 added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Sep 9, 2020
@ajs124
Copy link
Member

ajs124 commented Sep 9, 2020

You might want to add a note when this patch should be removed. Not sure if nixpkgs has a policy about that.

The "Mailto: Me Your Secrets"[0] paper describes vulnerabilities in
multiple email clients regarding the undocumented "attach" field of a
mailto URI. This might allow the inclusion of sensitive data in an
outgoing email.

Pull request NixOS#95758 addresses this issue on a more general level.

Claws Mail unfortunately also has problems with mailto URIs[1][2].
Referring to the paper, problems for "attach" and "insert" were found
and fixed. These patches, which are not included in a release yet, are
hereby added.

[0]:https://www.nds.ruhr-uni-bochum.de/media/nds/veroeffentlichungen/2020/08/15/mailto-paper.pdf
[1]:https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4373
[2]:https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4374
@oxzi oxzi force-pushed the claws-mail-mailto branch from a497816 to 62eed9a Compare September 10, 2020 08:12
@oxzi
Copy link
Member Author

oxzi commented Sep 10, 2020 via email

@ajs124 ajs124 merged commit 441a7da into NixOS:master Sep 15, 2020
@oxzi oxzi deleted the claws-mail-mailto branch September 15, 2020 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants