commit | 793ad666bf5ec61392092b27061be9618e4e219b | [log] [tgz] |
---|---|---|
author | Roland Shoemaker <roland@golang.org> | Wed May 25 12:54:08 2022 -0700 |
committer | Roland Shoemaker <roland@golang.org> | Wed May 25 23:09:36 2022 +0000 |
tree | 91d32e7299638b5b2dcdd9f5edb7a50c16cf693f | |
parent | 6f7dac9698988af7b704298c9fd8adf58e1d30c0 [diff] |
acme/autocert: properly clean DirCache paths Don't assume the path passed into the DirCache methods is absolute, and clean it before further operating on it. Put and Delete are not attacker controlled, but clean them anyway. Fixes #53082 Fixes CVE-2022-30636 Change-Id: I755f525a737da60ccba07ebce4d41cc8faebfcca Reviewed-on: https://go-review.googlesource.com/c/crypto/+/408694 Run-TryBot: Roland Shoemaker <roland@golang.org> Reviewed-by: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.