Lucene search
+L
OSV GoRecent

4866 matches found

osv_go
osv_go
•added 2022/06/09 1:43 a.m.•49 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.02314EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/05/26 12:01 a.m.•70 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.8CVSS7.2AI score0.03114EPSS
SaveExploits0References5
osv_go
osv_go
•added 2022/05/25 9:11 p.m.•46 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.3CVSS7AI score0.01383EPSS
SaveExploits0References3
osv_go
osv_go
•added 2022/05/25 6:01 p.m.•73 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.4AI score0.03114EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/05/24 10:06 p.m.•66 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.5CVSS6.7AI score0.04358EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/24 8:17 p.m.•87 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.5CVSS6.2AI score0.01442EPSS
SaveExploits0References3
osv_go
osv_go
•added 2022/05/24 8:14 p.m.•60 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.7AI score0.10962EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/24 8:14 p.m.•74 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.5CVSS6.9AI score0.04693EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/05/24 3:21 p.m.•73 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.2AI score0.04501EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/23 10:46 p.m.•46 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.5CVSS7AI score0.05299EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/23 10:15 p.m.•66 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.5CVSS6.7AI score0.03255EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/23 10:15 p.m.•69 views

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

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

7.8CVSS8.1AI score0.03017EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/23 10:15 p.m.•72 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.1CVSS8AI score0.03147EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/23 9:59 p.m.•43 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.•57 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.5CVSS7.2AI score0.0416EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/05/20 9:17 p.m.•45 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.5CVSS7.2AI score0.0995EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/05/20 12:00 a.m.•51 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.•82 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.4AI score0.07446EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/05/18 6:23 p.m.•65 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.4AI score0.02014EPSS
SaveExploits0References6
osv_go
osv_go
•added 2022/04/28 11:35 p.m.•113 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.5CVSS6.6AI score0.02718EPSS
SaveExploits1References3
osv_go
osv_go
•added 2022/04/25 8:38 p.m.•54 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.5CVSS7.4AI score0.03945EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/03/15 7:38 p.m.•59 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...

6.1AI score0.00557EPSS
SaveExploits0References3
osv_go
osv_go
•added 2022/02/17 6:15 p.m.•64 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.•58 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.3CVSS6.4AI score0.01735EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/17 5:36 p.m.•40 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.8AI score0.02883EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/17 5:35 p.m.•58 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.3AI score0.03205EPSS
SaveExploits0References3
osv_go
osv_go
•added 2022/02/17 5:34 p.m.•58 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.4AI score0.02504EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/17 5:34 p.m.•56 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.5CVSS6.5AI score0.02699EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/17 5:33 p.m.•45 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.•70 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.6AI score0.03204EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/02/17 5:33 p.m.•67 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.4AI score0.03464EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/02/17 5:33 p.m.•46 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.4AI score0.0226EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/02/17 5:33 p.m.•68 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.4AI score0.03372EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/02/17 5:32 p.m.•55 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.4AI score0.07032EPSS
SaveExploits1References4
osv_go
osv_go
•added 2022/02/17 5:32 p.m.•52 views

GO-2021-0245 Panic in ReverseProxy in net/http/httputil

ReverseProxy can panic after encountering a problem copying a proxied response body...

5.9CVSS7AI score0.02727EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/15 11:56 p.m.•52 views

GO-2021-0172 Denial of service when parsing large forms in mime/multipart

When parsing large multipart/form-data, an attacker can cause a HTTP server to open a large number of file descriptors. This may be used as a denial-of-service vector...

7.5CVSS6.5AI score0.02078EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/02/15 1:57 a.m.•59 views

GO-2022-0701 Directory traversal in k8s.io/kubernetes

Crafted object type names can cause directory traversal in Kubernetes. Object names are not validated before being passed to etcd. This allows attackers to write arbitrary files via a crafted object name, hence causing directory traversal vulnerability in Kubernetes, as used in Red Hat OpenShift...

6.4CVSS7.1AI score0.01847EPSS
SaveExploits0References2
osv_go
osv_go
•added 2022/02/15 1:57 a.m.•55 views

GO-2022-0643 Denial of service in github.com/elastic/beats

A local attacker can cause a panic if they are able to send arbitrary traffic to a monitored port, due to an out of bounds read...

7.5CVSS7.4AI score0.01436EPSS
SaveExploits0References2
osv_go
osv_go
•added 2022/02/15 1:57 a.m.•53 views

GO-2022-0629 Directory traversal in sigs.k8s.io/secrets-store-csi-driver

Modifying pod status allows host directory traversal. Kubernetes Secrets Store CSI Driver allows an attacker who can modify a SecretProviderClassPodStatus/Status resource the ability to write content to the host filesystem and sync file contents to Kubernetes Secrets. This includes paths under...

6.5CVSS6.5AI score0.01328EPSS
SaveExploits0References2
osv_go
osv_go
•added 2022/02/15 1:57 a.m.•63 views

GO-2022-0425 Weak encryption and denial of service in github.com/flynn/noise

The Noise protocol implementation suffers from weakened cryptographic security after encrypting 2^64 messages, and a potential denial of service attack. After 2^64 18.4 quintillion messages are encrypted with the Encrypt function, the nonce counter will wrap around, causing multiple messages to b...

7.5CVSS7.2AI score0.00391EPSS
SaveExploits0References1
osv_go
osv_go
•added 2022/02/11 11:26 p.m.•78 views

GO-2022-0646 CBC padding oracle issue in AWS S3 Crypto SDK for golang in github.com/aws/aws-sdk-go

A padding oracle vulnerability exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. The SDK allows users to encrypt files with AES-CBC without computing a Message Authentication Code MAC, which then allows an attacker who has write access to the target's S3 bucket and can observe...

5.6CVSS7.3AI score0.00346EPSS
SaveExploits1References7
osv_go
osv_go
•added 2022/02/05 12:00 a.m.•35 views

GO-2022-0563 Cross-site request forgery in github.com/filebrowser/filebrowser/v2

A Cross-Site Request Forgery vulnerability exists in Filebrowser that allows attackers to create a backdoor user with admin privilege and get access to the filesystem via a malicious HTML webpage that is sent to the victim...

8.8CVSS7.7AI score0.06717EPSS
SaveExploits6References3
osv_go
osv_go
•added 2022/01/14 5:30 p.m.•51 views

GO-2021-0258 Incorrect authorization in github.com/pomerium/pomerium

Pomerium is an open source identity-aware access proxy. Changes to the OIDC claims of a user after initial login are not reflected in policy evaluation when using allowedidpclaims as part of policy. If using allowedidpclaims and a user's claims are changed, Pomerium can make incorrect authorizati...

8.8CVSS7.8AI score0.0086EPSS
SaveExploits0References2
osv_go
osv_go
•added 2022/01/14 5:30 p.m.•66 views

GO-2021-0228 Path traversal in github.com/unknwon/cae

The ExtractTo function doesn't securely escape file paths in zip archives which include leading or non-leading "..". This allows an attacker to add or replace files system-wide...

7.5CVSS7.3AI score0.01455EPSS
SaveExploits1References2
osv_go
osv_go
•added 2022/01/13 8:54 p.m.•67 views

GO-2021-0264 Panic when opening certain archives in archive/zip

Previously, opening a zip with Reader.Open could result in a panic if the zip contained a file whose name was exclusively made up of slash characters or ".." path elements. Open could also panic if passed the empty string directly as an argument. Now, any files in the zip whose name could not be...

7.5CVSS7.8AI score0.03253EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/01/13 3:45 a.m.•59 views

GO-2021-0263 Panic on invalid symbol tables in debug/macho

Calling File.ImportedSymbols on a loaded file which contains an invalid dynamic symbol table command can cause a panic, in particular if the encoded number of undefined symbols is larger than the number of symbols in the symbol table...

7.5CVSS6.7AI score0.0411EPSS
SaveExploits0References4
osv_go
osv_go
•added 2022/01/13 3:44 a.m.•69 views

GO-2021-0226 Cross-site scripting in net/http/cgi and net/http/fcgi

When a Handler does not explicitly set the Content-Type header, the the package would default to “text/html”, which could cause a Cross-Site Scripting vulnerability if an attacker can control any part of the contents of a response. The Content-Type header is now set based on the contents of the...

6.1CVSS6.8AI score0.03646EPSS
SaveExploits2References4
osv_go
osv_go
•added 2022/01/13 3:44 a.m.•64 views

GO-2021-0225

Certain invalid inputs to ReadUvarint or ReadVarint could cause those functions to read an unlimited number of bytes from the ByteReader argument before returning an error. This could lead to processing more input than expected when the caller is reading directly from a network and depends on...

1.6AI score
SaveExploits0References4
osv_go
osv_go
•added 2022/01/11 5:18 p.m.•42 views

GO-2021-0237 Open redirect in github.com/AndrewBurian/powermux

Attackers may be able to craft phishing links and other open redirects by exploiting PowerMux's trailing slash redirection feature. This may lead to users being redirected to untrusted sites after following an attacker crafted link...

6.1CVSS6.2AI score0.00606EPSS
SaveExploits0References2
osv_go
osv_go
•added 2022/01/07 8:35 p.m.•60 views

GO-2021-0178 Cleartext transmission of credentials in net/smtp

SMTP clients using net/smtp can use the PLAIN authentication scheme on network connections not secured with TLS, exposing passwords to man-in-the-middle SMTP servers...

5.9CVSS6.8AI score0.01282EPSS
SaveExploits0References4
Total number of security vulnerabilities4866