Lucene search
+L
Osv-goRecent

4632 matches found

osv-go
osv-go
•added 2022/07/01 8:11 p.m.•29 views

GO-2022-0385

The AuthenticateMethod authentication hook is not called for WebSocket connections, allowing unauthenticated access. This issue only affects WebSockets with an AuthenticateMethod hook. Request handlers that do not explicitly use WebSockets are not vulnerable...

4.3AI score
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:10 p.m.•32 views

GO-2022-0391 Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go

The AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field. This hash can be used to brute force the plaintext, if the hash is readable to the attacker. AWS now blocks this metadata field, but older SDK versions still send it...

4.3CVSS4.6AI score0.00495EPSS
SaveExploits1References1
osv-go
osv-go
•added 2022/07/01 8:10 p.m.•59 views

GO-2022-0400 Race condition in github.com/ntbosscher/gobase

A race condition can cause incorrect HTTP request routing...

3.7CVSS4AI score0.00364EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:10 p.m.•40 views

GO-2022-0402 Panic in NATS JWT decoding in github.com/nats-io/jwt

A malicious account can create and sign a User JWT which causes a panic when decoded by the NATS JWT library...

7.5CVSS7.4AI score0.02157EPSS
SaveExploits0References2
osv-go
osv-go
•added 2022/07/01 8:08 p.m.•32 views

GO-2022-0409

An attacker can create an XML file which completely bypasses signature validation, passing off an altered file as a signed one...

2.6AI score
SaveExploits0References2
osv-go
osv-go
•added 2022/07/01 8:08 p.m.•43 views

GO-2022-0411 Insufficient randomness in github.com/Masterminds/goutils

Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by...

9.1CVSS7.8AI score0.01357EPSS
SaveExploits1References1
osv-go
osv-go
•added 2022/07/01 8:08 p.m.•42 views

GO-2022-0414 Command injection in github.com/Masterminds/vcs

Passing untrusted inputs to VCS functions can permit an attacker to execute arbitrary commands. The vcs package executes version control commands with user-provided arguments. These arguments can be interpreted as command-line flags, which can be used to perform command injection...

9.8CVSS10AI score0.01585EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:08 p.m.•39 views

GO-2022-0417 Incorrect default permissions in github.com/containers/buildah

Containers are created with non-empty inheritable Linux process capabilities, permitting programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve2. This bug does not affect the container security sandbox, as the inheritable set never contains mo...

6.8CVSS7.1AI score0.01255EPSS
SaveExploits0References2
osv-go
osv-go
•added 2022/07/01 8:08 p.m.•52 views

GO-2022-0422 Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb

The dag-pb codec can panic when decoding invalid blocks...

7.5CVSS7.4AI score0.00743EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:07 p.m.•30 views

GO-2022-0438 Exposure of sensitive information via log file in github.com/hashicorp/go-getter

The getter package can write SSH credentials to its logfile, exposing credentials to local users able to read the logfile...

5.5CVSS5.5AI score0.0041EPSS
SaveExploits0References3
osv-go
osv-go
•added 2022/07/01 8:07 p.m.•52 views

GO-2022-0444 Version rollback attack in github.com/theupdateframework/go-tuf

The TUF client is vulnerable to rollback attacks, in which an attacker causes a client to install software older than the software the client previously knew to be available...

8.8CVSS7.9AI score0.0057EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:07 p.m.•19 views

GO-2022-0460 Infinite loop in github.com/pion/dtls/v2

An attacker can send packets that send the DTLS server or client into an infinite loop...

7.5CVSS7.3AI score0.01744EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:07 p.m.•24 views

GO-2022-0461 Unbounded memory consumption in github.com/pion/dtls/v2

Attacker can cause unbounded memory consumption. The Pion DTLS client and server buffer handshake data with no upper limit, permitting an attacker to cause unbounded memory consumption by sending an unterminated handshake...

5.3CVSS5.2AI score0.02149EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:07 p.m.•27 views

GO-2022-0462 Improper validation of client certificates in github.com/pion/dtls/v2

Client-provided certificates are not correctly validated, and must not be trusted. DTLS client certificates must be accompanied by proof that the client possesses the private key for the certificate. The Pion DTLS server accepted client certificates unaccompanied by this proof, permitting an...

7.5CVSS6.3AI score0.00825EPSS
SaveExploits0References1
osv-go
osv-go
•added 2022/07/01 8:06 p.m.•32 views

GO-2022-0463 Access control bypass due to broad route matching in github.com/beego/beego and beego/v2

Routes in the beego HTTP router can match unintended patterns. This overly-broad matching may permit an attacker to bypass access controls. For example, the pattern "/a/b/:name" can match the URL "/a.xml/b/". This may bypass access control applied to the prefix "/a/"...

9.8CVSS9.3AI score0.22158EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/07/01 12:01 a.m.•38 views

GO-2022-0574 Denial of service in github.com/open-policy-agent/opa

An issue in the AST parser of Open Policy Agent makes it possible for attackers to cause a Denial of Service attack from a crafted input...

7.5CVSS7.2AI score0.01729EPSS
SaveExploits1References3
osv-go
osv-go
•added 2022/06/09 1:43 a.m.•41 views

GO-2022-0477 Indefinite hang with large buffers on Windows in crypto/rand

On Windows, rand.Read will hang indefinitely if passed a buffer larger than 1 32 - 1 bytes...

7.5CVSS7.6AI score0.0226EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/05/26 12:01 a.m.•55 views

GO-2022-0586 Resource exhaustion in github.com/hashicorp/go-getter and related modules

Malicious HTTP responses can cause a number of misbehaviors, including overwriting local files, resource exhaustion, and panics. Protocol switching, endless redirect, and configuration bypass are possible through abuse of custom HTTP response header processing. Arbitrary host access is possible...

9.8CVSS9.2AI score0.03114EPSS
SaveExploits0References5
osv-go
osv-go
•added 2022/05/25 9:11 p.m.•31 views

GO-2021-0154 Man-in-the-middle attack with SessionTicketsDisabled in crypto/tls

When SessionTicketsDisabled is enabled, crypto/tls allowed man-in-the-middle attackers to spoof clients via unspecified vectors. If the server enables TLS client authentication using certificates this is rare and explicitly sets SessionTicketsDisabled to true in the tls.Config, then a malicious...

4.3CVSS8.3AI score0.01383EPSS
SaveExploits0References3
osv-go
osv-go
•added 2022/05/25 6:01 p.m.•62 views

GO-2022-0220 DLL injection on Windows in runtime and syscall

Go on Windows misused certain LoadLibrary functionality, leading to DLL injection...

7.8CVSS7.8AI score0.03114EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/05/24 10:06 p.m.•50 views

GO-2022-0166 Denial of service due to unchecked parameters in crypto/dsa

The Verify function in crypto/dsa passed certain parameters unchecked to the underlying big integer library, possibly leading to extremely long-running computations, which in turn makes Go programs vulnerable to remote denial of service attacks. Programs using HTTPS client certificates or the Go...

7.5CVSS7.4AI score0.04419EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/24 8:17 p.m.•64 views

GO-2022-0171 Mishandled trust preferences for root certificates on Darwin in crypto/x509

On Darwin, user's trust preferences for root certificates were not honored. If the user had a root certificate loaded in their Keychain that was explicitly not trusted, a Go program would still verify a connection using that root certificate...

7.5CVSS7.5AI score0.01442EPSS
SaveExploits0References3
osv-go
osv-go
•added 2022/05/24 8:14 p.m.•52 views

GO-2022-0247 Buffer overflow in WASM modules in misc/wasm and cmd/link

When invoking functions from WASM modules, built using GOARCH=wasm GOOS=js, passing very large arguments can cause portions of the module to be overwritten with data from the arguments due to a buffer overflow error. If using wasmexec.js to execute WASM modules, users will need to replace their...

9.8CVSS8.2AI score0.10874EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/24 8:14 p.m.•58 views

GO-2022-0213 Panic on invalid DSA public keys in crypto/dsa

Invalid DSA public keys can cause a panic in dsa.Verify. In particular, using crypto/x509.Verify on a crafted X.509 certificate chain can lead to a panic, even if the certificates don't chain to a trusted root. The chain can be delivered via a crypto/tls connection to a client, or to a server tha...

7.5CVSS7AI score0.04693EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/05/24 3:21 p.m.•57 views

GO-2022-0217 Denial of service affecting P-521 and P-384 curves in crypto/elliptic

A DoS vulnerability in the crypto/elliptic implementations of the P-521 and P-384 elliptic curves may let an attacker craft inputs that consume excessive amounts of CPU. These inputs might be delivered via TLS handshakes, X.509 certificates, JWT tokens, ECDH shares or ECDSA signatures. In some...

8.2CVSS7.7AI score0.04326EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/23 10:46 p.m.•39 views

GO-2022-0212 Request smuggling due to accepting invalid headers in net/http via net/textproto

net/http through net/textproto used to accept and normalize invalid HTTP/1.1 headers with a space before the colon, in violation of RFC 7230. If a Go server is used behind an uncommon reverse proxy that accepts and forwards but doesn't normalize such invalid headers, the reverse proxy and the...

7.5CVSS7.5AI score0.05299EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/23 10:15 p.m.•51 views

GO-2021-0347 Stack exhaustion when compiling deeply nested expressions in regexp

On 64-bit platforms, an extremely deeply nested expression can cause regexp.Compile to cause goroutine stack exhaustion, forcing the program to exit. Note this applies to very large expressions, on the order of 2MB...

7.5CVSS8.5AI score0.03228EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/23 10:15 p.m.•53 views

GO-2021-0317 Uncontrolled memory consumption in math/big

Rat.SetString had an overflow issue that can lead to uncontrolled memory consumption...

7.8CVSS7.8AI score0.02807EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/23 10:15 p.m.•59 views

GO-2021-0319 Incorrect computation for some invalid field elements in crypto/elliptic

Some big.Int values that are not valid field elements negative or overflowing might cause Curve.IsOnCurve to incorrectly return true. Operating on those values may cause a panic or an invalid curve operation. Note that Unmarshal will never return such values...

9.1CVSS7.7AI score0.03073EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/23 9:59 p.m.•35 views

GO-2022-0434 Panic during certificate parsing on Darwin in crypto/x509

Verifying certificate chains containing certificates which are not compliant with RFC 5280 causes Certificate.Verify to panic on macOS. These chains can be delivered through TLS and can cause a crypto/tls or net/http client to crash...

7.5CVSS7.4AI score0.01469EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/20 9:17 p.m.•49 views

GO-2022-0435 Panic due to large inputs affecting P-256 curves in crypto/elliptic

A crafted scalar input longer than 32 bytes can cause P256.ScalarMult or P256.ScalarBaseMult to panic. Indirect uses through crypto/ecdsa and crypto/tls are unaffected. amd64, arm64, ppc64le, and s390x are unaffected...

7.5CVSS9.7AI score0.0416EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/20 9:17 p.m.•37 views

GO-2022-0433 Stack overflow from a large amount of PEM data in encoding/pem

encoding/pem in Go before 1.17.9 and 1.18.x before 1.18.1 has a Decode stack overflow via a large amount of PEM data...

7.5CVSS9.8AI score0.0995EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/05/20 12:00 a.m.•43 views

GO-2022-0587 Out of bounds memory access in github.com/open-policy-agent/opa

An issue in ast.Parser in Open Policy Agent causes the application to incorrectly interpret expressions, allowing a Denial of Service DoS via triggering out-of-range memory access...

7.5CVSS7.3AI score0.0104EPSS
SaveExploits0References2
osv-go
osv-go
•added 2022/05/18 6:23 p.m.•66 views

GO-2022-0273 Panic due to crafted inputs in archive/zip

The NewReader and OpenReader functions in archive/zip can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size. This is caused by an incomplete fix for CVE-2021-33196...

7.5CVSS6.6AI score0.06934EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/05/18 6:23 p.m.•56 views

GO-2022-0289 Misdirected I/O in syscall

When a Go program running on a Unix system is out of file descriptors and calls syscall.ForkExec including indirectly by using the os/exec package, syscall.ForkExec can close file descriptor 0 as it fails. If this happens or can be provoked repeatedly, it can result in misdirected I/O such as...

5.8CVSS6.6AI score0.01857EPSS
SaveExploits0References6
osv-go
osv-go
•added 2022/04/28 11:35 p.m.•87 views

GO-2021-0412 Incorrect authorization in github.com/containerd/imgcrypt

The imgcrypt library provides API extensions for containerd to support encrypted container images and implements the ctd-decoder command line tool for use by containerd to decrypt encrypted container images. The imgcrypt function CheckAuthorization is supposed to check whether the current used is...

7.5CVSS7.5AI score0.02718EPSS
SaveExploits1References3
osv-go
osv-go
•added 2022/04/25 8:38 p.m.•46 views

GO-2021-0356 Denial of service via crafted Signer in golang.org/x/crypto/ssh

Attackers can cause a crash in SSH servers when the server has been configured by passing a Signer to ServerConfig.AddHostKey such that 1 the Signer passed to AddHostKey does not implement AlgorithmSigner, and 2 the Signer passed to AddHostKey returns a key of type “ssh-rsa” from its PublicKey...

7.5CVSS9.6AI score0.03931EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/03/15 7:38 p.m.•43 views

GO-2021-0321

An attacker capable of spoofing DNS TXT records can redirect a WebSocket connection request to a server under their control without causing TLS certificate verification to fail. This occurs because the wrong host name is selected during this verification...

2.5AI score
SaveExploits0References3
osv-go
osv-go
•added 2022/02/17 6:15 p.m.•51 views

GO-2021-0143

When a Handler does not explicitly set the Content-Type header, the net/http/cgi and net/http/fcgi packages default to "text/html", which can cause a Cross-Site Scripting vulnerability if an attacker can control any part of the contents of a response...

0.9AI score
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:46 p.m.•49 views

GO-2021-0223 Certificate verification error on Windows in crypto/x509

On Windows, if VerifyOptions.Roots is nil, Certificate.Verify does not check the EKU requirements specified in VerifyOptions.KeyUsages. This may allow a certificate to be used for an unintended purpose...

5.3CVSS5.4AI score0.01762EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:36 p.m.•32 views

GO-2021-0224 Data race and crash in net/http

HTTP servers where the Handler concurrently reads the request body and writes a response can encounter a data race and crash. The httputil.ReverseProxy Handler is affected...

5.9CVSS6.7AI score0.02883EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:35 p.m.•50 views

GO-2021-0227 Panic on crafted authentication request message in golang.org/x/crypto/ssh

Clients can cause a panic in SSH servers. An attacker can craft an authentication request message for the “gssapi-with-mic” method which will cause NewServerConn to panic via a nil pointer dereference if ServerConfig.GSSAPIWithMICConfig is nil...

7.5CVSS7.4AI score0.03179EPSS
SaveExploits0References3
osv-go
osv-go
•added 2022/02/17 5:34 p.m.•49 views

GO-2021-0234 Infinite loop when decoding inputs in encoding/xml

The Decode, DecodeElement, and Skip methods of an xml.Decoder provided by xml.NewTokenDecoder may enter an infinite loop when operating on a custom xml.TokenReader which returns an EOF in the middle of an open XML element...

7.5CVSS7.6AI score0.02474EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:34 p.m.•42 views

GO-2021-0235 Incorrect operations on the P-224 curve in crypto/elliptic

The P224 Curve implementation can in rare circumstances generate incorrect outputs, including returning invalid points from ScalarMult...

6.5CVSS7.2AI score0.02666EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:33 p.m.•36 views

GO-2021-0238 Infinite loop when parsing inputs in golang.org/x/net/html

An attacker can craft an input to ParseFragment that causes it to enter an infinite loop and never return...

7.5CVSS7.4AI score0.07492EPSS
SaveExploits0References4
osv-go
osv-go
•added 2022/02/17 5:33 p.m.•61 views

GO-2021-0239 Improper sanitization when resolving values from DNS in net

The LookupCNAME, LookupSRV, LookupMX, LookupNS, and LookupAddr functions and their respective methods on the Resolver type may return arbitrary values retrieved from DNS which do not follow the established RFC 1035 rules for domain names. If these names are used without further sanitization, for...

7.5CVSS6.7AI score0.03204EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/02/17 5:33 p.m.•56 views

GO-2021-0240 Panic when reading certain archives in archive/zip

NewReader and OpenReader can cause a panic or an unrecoverable fatal error when reading an archive that claims to contain a large number of files, regardless of its actual size...

7.5CVSS6.7AI score0.03464EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/02/17 5:33 p.m.•37 views

GO-2021-0241 Attacker can drop certain headers in net/http/httputil

ReverseProxy can be made to forward certain hop-by-hop headers, including Connection. If the target of the ReverseProxy is itself a reverse proxy, this lets an attacker drop arbitrary headers, including those set by the ReverseProxy.Director...

5.3CVSS6.6AI score0.0226EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/02/17 5:33 p.m.•54 views

GO-2021-0242 Panic on inputs with large exponents in math/big

Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents...

7.5CVSS6.6AI score0.03372EPSS
SaveExploits1References4
osv-go
osv-go
•added 2022/02/17 5:32 p.m.•47 views

GO-2021-0243 Panic on certain certificates in crypto/tls

crypto/tls clients can panic when provided a certificate of the wrong type for the negotiated parameters. net/http clients performing HTTPS requests are also affected...

6.5CVSS6.7AI score0.06975EPSS
SaveExploits1References4
Total number of security vulnerabilities4632