Skip to content

Commit f672cf3

Browse files
authored
Merge pull request #3644 from scop/patch-1
Update TLS version info in Go missing-ssl-minversion
2 parents 53d6708 + b82d1c2 commit f672cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/lang/security/audit/crypto/missing-ssl-minversion.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rules:
22
- id: missing-ssl-minversion
33
message: >-
44
`MinVersion` is missing from this TLS configuration.
5-
By default, TLS 1.2 is currently used as the minimum when acting as a client, and TLS 1.0 when acting as a server.
5+
By default, as of Go 1.22, TLS 1.2 is currently used as the minimum.
66
General purpose web applications should default to TLS 1.3 with all other protocols disabled.
77
Only where it is known that a web server must support legacy clients
88
with unsupported an insecure browsers (such as Internet Explorer 10), it may be necessary to enable TLS 1.0 to provide support.
@@ -15,8 +15,8 @@ rules:
1515
- A02:2021 - Cryptographic Failures
1616
source-rule-url: https://github.com/securego/gosec/blob/master/rules/tls_config.go
1717
references:
18-
- https://golang.org/doc/go1.14#crypto/tls
19-
- https://golang.org/pkg/crypto/tls/#:~:text=MinVersion
18+
- https://go.dev/doc/go1.22#minor_library_changes
19+
- https://pkg.go.dev/crypto/tls#:~:text=MinVersion
2020
- https://www.us-cert.gov/ncas/alerts/TA14-290A
2121
category: security
2222
technology:

0 commit comments

Comments
 (0)