Skip to content
DoS Write-up Intermediate

Multiple Denial of Service (DoS) Vulnerabilities in GoProxy, Smokescreen libraries

The GoProxy and Smokescreen libraries read entire HTTP response bodies into memory without size limits, so an attacker could cause an out-of-memory condition and crash the service. This could lead to downtime if the process is restarted.

Lorenzo Stella Follow

Published on doyensec.com

Security Advisory Goproxy & Smokescreen Denial Of Service (DoS) Created by Lorenzo Stella, Doyensec LLC 08/16/2022

Lorenzo Stella (@lorenzostella), on doyensec.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

Smokescreen is Stripe's HTTP CONNECT proxy. As the project README quoted in the advisory puts it, it proxies most traffic from Stripe to the external world (for example webhooks), and it restricts which URLs it connects to: it resolves each requested domain name and ensures that the result is a publicly routable IP and not a Stripe-internal IP. That prevents a class of attacks where, for instance, Stripe's own webhooks infrastructure is used to scan Stripe's internal network. Smokescreen also centralises egress, giving financial partners stable egress IP addresses and abstracting away which Stripe service is making the request.

Internally, Smokescreen is built on a fork of elazarl/goproxy called stripe/goproxy, a high-performance network proxy library. Its README describes it as a customisable HTTP proxy library for Go that supports a regular HTTP proxy, HTTPS through CONNECT, and hijacking HTTPS connections using a man-in-the-middle style attack. The advisory covers the popular upstream elazarl/goproxy library (4.9k stargazers and 925 forks as of August 2022), the Stripe fork stripe/goproxy, and stripe/smokescreen, which depends on the fork.

The vulnerability class is Denial of Service (DoS). The vendor is Stripe, severity is rated Low, and no CVE was assigned. The issue was discovered during a separate engagement activity, and the testing was not meant to be comprehensive in terms of attack and code coverage.

Setup

No accounts, roles or special tooling are described. The relevant components are the three Go modules:

  • github.com/stripe/goproxy
  • github.com/elazarl/goproxy
  • github.com/stripe/smokescreen

The report notes that some of the requested hosts can be selected and controlled by untrusted users. In the Smokescreen deployment described, the smokescreen_proxy_url is hardcoded to http://localhost:4750.

Finding it

Both elazarl/goproxy and stripe/goproxy use the ioutil package for common or recurring utility functions that read and write plain HTTP responses. One of those utilities is ReadAll. When the code reads the plain HTTP request body resp.Body, the function reads the incoming payload and assigns it to the resp variable. The entire response body is therefore loaded into memory from a remote network request.

That is dangerous because some of the requested hosts can be selected and controlled by untrusted users. An attacker can abuse the implementation to load large chunks of content into the server's memory, causing an Out-Of-Memory (OOM) condition and potentially the forceful restart of the container or service.

The insecure read sits in NewConnectDialToProxyWithHandler (github.com/stripe/goproxy/https.go:388). The call chain is:

  • NewConnectDialToProxyWithHandler (github.com/stripe/goproxy/https.go:388)
  • referenced by NewConnectDialToProxy (github.com/stripe/goproxy/https.go:384)
  • referenced by dialerFromEnv (github.com/stripe/goproxy/https.go:373)
  • referenced by NewProxyHttpServer (github.com/stripe/goproxy/proxy.go:180)

NewProxyHttpServer creates and returns a proxy server, which Smokescreen uses (smokescreen/smokescreen.go:399) to provide the proxy functionality.

Exploitation

Step 1: Understand the vulnerable function

The function that reads the response insecurely is reproduced below as it appears in the advisory:

Go
func (proxy *ProxyHttpServer) NewConnectDialToProxyWithHandler(https_proxy string, connectReqHandler func(req *http.Request)) func(network, addr string) (net.Conn, error) {
    u, err := url.Parse(https_proxy)
    if err != nil {
        return nil
    }
    if u.Scheme == "" || u.Scheme == "http" {
        if strings.IndexRune(u.Host, ':') == -1 {
            u.Host += ":80"
        }
        return func(network, addr string) (net.Conn, error) {
            connectReq := &http.Request{
                Method: "CONNECT",
                URL:    &url.URL{Opaque: addr},
                Host:   addr,
                Header: make(http.Header),
            }
            if connectReqHandler != nil {
                connectReqHandler(connectReq)
            }
            c, err := proxy.dial(network, u.Host)
            if err != nil {
                return nil, err
            }
            connectReq.Write(c)
            // Read response.
            // Okay to use and discard buffered reader here, because
            // TLS server will not speak until spoken to.
            br := bufio.NewReader(c)
            resp, err := http.ReadResponse(br, connectReq)
            if err != nil {
                c.Close()
                return nil, err
            }
            defer resp.Body.Close()
            if resp.StatusCode != 200 {
                resp, err := ioutil.ReadAll(resp.Body)
                if err != nil {
                    return nil, err
                }
                c.Close()
                return nil, errors.New("proxy refused connection" + string(resp))
            }
            return c, nil
        }
    }
    return nil
}

The function builds a CONNECT request, writes it to the connection, and reads the response with http.ReadResponse. When the status code is not 200, it calls ioutil.ReadAll(resp.Body) to read the whole body into memory so that it can be embedded in the error message. There is no bound on how much data that read will consume.

Step 2: Trigger the read with large bodies

It should be possible to trigger multiple plain HTTP requests from different webhooks and return very large response bodies at the same time to crash the proxy. The attacker only needs to fire multiple HTTP webhooks to a controlled endpoint that returns very large request bodies.

Root cause

The mistake is calling ioutil.ReadAll on resp.Body without any size limit. The full response body is loaded into memory from a remote network request, and the remote host can be chosen by an untrusted user. Because the read happens on the error path (any non-200 response), a controlled endpoint returning a very large body triggers it. Several such requests in parallel multiply the memory pressure. The code has no cap on the read.

Impact

Depending on the supervisor's restart policy on the machine, the process using Goproxy directly, or as a sub-dependency through Smokescreen, could crash or be killed. A prolonged attack could therefore cause considerable downtime of the service. The severity is rated Low and the complexity is Low.

Fix

The Stripe-owned libraries released an update to address the issue. The mitigation avoids loading arbitrary data into memory regardless of size, limiting the size of a valid response and returning an error that closes the connection when a substantial amount of memory would be consumed. The fix uses io.LimitReader(), which lets the code specify the maximum number of bytes to read:

Go
limited := io.LimitReader(fz, 40*1024*1024)
s, err := ioutil.ReadAll(limited)

The io.Reader returned by io.LimitReader() reports io.EOF when the returned data is more than 40 MB.

Status at the time of the advisory:

Component Status
github.com/stripe/smokescreen Fixed
github.com/stripe/goproxy Fixed
github.com/elazarl/goproxy Still unresolved

Disclosure timeline:

Date Event
03/14/2022 Disclosure to the elazarl/goproxy maintainer (Elazar Leibovich, [redacted]) and to the stripe/goproxy and stripe/smokescreen maintainers (Stripe Security Team, [redacted])
05/8/2022 Fix for stripe/goproxy (39ea38205)
05/8/2022 Dependency bump in stripe/smokescreen (dbb816b6) of stripe/goproxy
08/16/2022 Advisory released by Doyensec

Further reading cited in the advisory: "Be careful with ioutil.ReadAll in Golang" by Haisum Bhatti, and a Stack Overflow question on protecting a service from gzip bombs.

Variants to test

  • Other unbounded ioutil.ReadAll calls on network-controlled bodies. Grep the codebase for ioutil.ReadAll and io.ReadAll applied to resp.Body, request bodies or proxied streams. A positive result is a code path where the remote peer controls the body and no io.LimitReader or equivalent cap is applied.
  • Error paths that echo the body. Look for code that reads a body only to include it in an error message, as here. A positive result is a non-200 response from a controlled endpoint whose body is read in full and reflected into an error string.
  • Parallel requests against a controlled endpoint. Fire many concurrent requests through the proxy to an endpoint you control that returns very large bodies. A positive result is a measurable, unbounded growth in process memory and, under a restrictive supervisor policy, a restart or kill.
  • Compressed responses. Test whether a large body can be delivered in a small compressed form that expands on read. A positive result is memory growth disproportionate to the bytes on the wire.
  • Downstream consumers of the fork. Check other projects that depend on stripe/goproxy or elazarl/goproxy and expose a proxy to untrusted users. A positive result is any such service where the vulnerable path is reachable and the target host is attacker-selectable.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 17 min read.

What happened, in plain words

A security researcher found a way to make certain programs crash by sending them too much data at once. The programs in question are pieces of software that other programs use to talk to the internet on their behalf. One of them is called GoProxy, and the other is called Smokescreen. Smokescreen is made by the payments company Stripe, and it is built on top of a modified copy of GoProxy.

To understand the problem, imagine a receptionist at a building who is asked to fetch a parcel from a warehouse. The receptionist is told: "Go to this address, pick up whatever is there, and bring it back." If someone gives the receptionist an address of a warehouse that contains a million boxes, the receptionist will try to carry all of them back at once, and will collapse under the weight. The software had the same flaw: when it asked another computer for something and got an error answer back, it tried to read the entire answer into its own memory, no matter how big that answer was. An attacker who controls the other computer can make the answer enormous, and the program runs out of memory and dies.

This is called a Denial of Service attack, often shortened to DoS. It does not steal data or break into anything. It just stops a service from working, by overwhelming it. The advisory rates the severity as Low, and no CVE number was assigned. A CVE is a public catalogue number that security teams use to track a specific vulnerability; not every issue gets one.

The researcher, Lorenzo Stella, found the problem while working on a separate engagement, meaning a different piece of security testing work. The testing was not meant to be comprehensive in terms of attack and code coverage, so there may be more issues in the same code that were not looked for.

The pieces involved

Before going further, it helps to know what each piece is.

A library is a bundle of code that other programs can reuse instead of writing everything from scratch. Think of it as a set of pre-built kitchen tools: you do not forge your own knife every time you want to cook.

Go (sometimes called Golang) is a programming language. Programs written in Go are compiled into a single file that runs on a server.

A proxy is a middleman. When your computer wants to reach a website, it can either connect directly, or ask a proxy to do it on its behalf. The proxy makes the connection, fetches the answer, and passes it back. Companies use proxies to control and monitor what their systems are allowed to reach on the internet.

Smokescreen is Stripe's HTTP CONNECT proxy. HTTP is the language browsers and servers use to exchange web pages and data. CONNECT is a specific HTTP method, meaning a specific type of request, that says: "Please open a tunnel to this address for me." Smokescreen's job, as described in its own README quoted in the advisory, is to proxy most traffic from Stripe to the external world, for example webhooks. A webhook is an automatic message one system sends to another when something happens, like a shop notifying a payment provider that an order was placed.

Smokescreen also restricts which URLs it connects to. It resolves each requested domain name and ensures the result is a publicly routable IP and not a Stripe-internal IP. In plain words: it looks up the address behind a name, checks that the address is on the public internet, and refuses if the address belongs to Stripe's own private network. This prevents a class of attacks where, for instance, Stripe's own webhooks infrastructure is used to scan Stripe's internal network. An IP address is the numeric address of a computer on a network, like a postal address. A domain name is the human-friendly name, like example.com, that gets translated into an IP address.

Smokescreen also centralises egress, meaning all outbound traffic leaves through one controlled point. This gives financial partners stable egress IP addresses, so those partners can recognise Stripe's traffic, and it hides which Stripe service is making the request.

Internally, Smokescreen is built on a fork of elazarl/goproxy called stripe/goproxy. A fork is a copy of a project that someone takes and modifies for their own needs. elazarl/goproxy is a high-performance network proxy library. Its README describes it as a customisable HTTP proxy library for Go that supports a regular HTTP proxy, HTTPS through CONNECT, and hijacking HTTPS connections using a man-in-the-middle style attack. HTTPS is the encrypted version of HTTP. Man-in-the-middle means sitting between two parties and reading or altering what passes between them; here it is a deliberate feature of the library, not an attack on users.

The advisory covers three components:

  • github.com/stripe/goproxy
  • github.com/elazarl/goproxy
  • github.com/stripe/smokescreen

The upstream elazarl/goproxy library had 4.9k stargazers and 925 forks as of August 2022. A stargazer is someone who has marked a project as interesting on GitHub, a common rough measure of popularity.

The setup needed for the attack

No accounts, roles or special tooling are described. The precondition is that some of the hosts the proxy is asked to reach can be selected and controlled by untrusted users. In the Smokescreen deployment described, the smokescreen_proxy_url is hardcoded to http://localhost:4750. Hardcoded means the value is written directly into the program rather than configured from outside. localhost means the same machine the program is running on, and 4750 is the port number, the numbered door on that machine where the proxy listens.

Finding the problem

Both elazarl/goproxy and stripe/goproxy use the ioutil package for common or recurring utility functions that read and write plain HTTP responses. A package in Go is a collection of related code. ioutil is a standard Go package full of small helpers for input and output, such as reading files or network streams.

One of those helpers is ReadAll. When the code reads the plain HTTP request body resp.Body, the function reads the incoming payload and assigns it to the resp variable. The entire response body is therefore loaded into memory from a remote network request. Memory here means the working space a running program uses to hold data. Payload means the actual content being carried, as opposed to the envelope around it.

That is dangerous because some of the requested hosts can be selected and controlled by untrusted users. An attacker can abuse the implementation to load large chunks of content into the server's memory, causing an Out-Of-Memory (OOM) condition and potentially the forceful restart of the container or service. OOM is what happens when a program asks for more memory than the machine can give; the operating system kills it to protect everything else. A container is a lightweight, isolated box in which a program runs on a server.

The insecure read sits in a function called NewConnectDialToProxyWithHandler, at github.com/stripe/goproxy/https.go:388. The notation means the file https.go, line 388. The call chain, meaning which function calls which, is:

  • NewConnectDialToProxyWithHandler (github.com/stripe/goproxy/https.go:388)
  • referenced by NewConnectDialToProxy (github.com/stripe/goproxy/https.go:384)
  • referenced by dialerFromEnv (github.com/stripe/goproxy/https.go:373)
  • referenced by NewProxyHttpServer (github.com/stripe/goproxy/proxy.go:180)

NewProxyHttpServer creates and returns a proxy server, which Smokescreen uses (smokescreen/smokescreen.go:399) to provide the proxy functionality. Reading the chain from the bottom up: Smokescreen asks for a proxy server, that request passes through a few layers, and eventually reaches the function that reads responses without any size limit.

Step 1: Understand the vulnerable function

The function that reads the response insecurely is reproduced below as it appears in the advisory:

Go
func (proxy *ProxyHttpServer) NewConnectDialToProxyWithHandler(https_proxy string, connectReqHandler func(req *http.Request)) func(network, addr string) (net.Conn, error) {
    u, err := url.Parse(https_proxy)
    if err != nil {
        return nil
    }
    if u.Scheme == "" || u.Scheme == "http" {
        if strings.IndexRune(u.Host, ':') == -1 {
            u.Host += ":80"
        }
        return func(network, addr string) (net.Conn, error) {
            connectReq := &http.Request{
                Method: "CONNECT",
                URL:    &url.URL{Opaque: addr},
                Host:   addr,
                Header: make(http.Header),
            }
            if connectReqHandler != nil {
                connectReqHandler(connectReq)
            }
            c, err := proxy.dial(network, u.Host)
            if err != nil {
                return nil, err
            }
            connectReq.Write(c)
            // Read response.
            // Okay to use and discard buffered reader here, because
            // TLS server will not speak until spoken to.
            br := bufio.NewReader(c)
            resp, err := http.ReadResponse(br, connectReq)
            if err != nil {
                c.Close()
                return nil, err
            }
            defer resp.Body.Close()
            if resp.StatusCode != 200 {
                resp, err := ioutil.ReadAll(resp.Body)
                if err != nil {
                    return nil, err
                }
                c.Close()
                return nil, errors.New("proxy refused connection" + string(resp))
            }
            return c, nil
        }
    }
    return nil
}

Line by line, in plain words:

  1. func (proxy *ProxyHttpServer) NewConnectDialToProxyWithHandler(...) declares a function attached to a proxy server object. It takes the address of an upstream proxy (https_proxy) and an optional handler function (connectReqHandler) that can adjust the outgoing request. It returns another function, which is the piece of code that will actually open connections.
  2. u, err := url.Parse(https_proxy) takes the proxy address, a piece of text, and breaks it into parts: scheme, host, port. If the text is malformed, err is set.
  3. if err != nil { return nil } stops if the address could not be parsed.
  4. if u.Scheme == "" || u.Scheme == "http" checks whether the proxy address is plain HTTP or has no scheme at all. The scheme is the part before ://, such as http or https.
  5. if strings.IndexRune(u.Host, ':') == -1 { u.Host += ":80" } checks whether the host part already contains a colon, which would mean a port number is present. If not, it appends :80, the default port for plain HTTP. This is like adding the standard door number when someone gives you only a street address.
  6. return func(network, addr string) (net.Conn, error) { returns the function that will be called each time a connection is needed. addr is the destination the caller wants to reach.
  7. connectReq := &http.Request{ Method: "CONNECT", URL: &url.URL{Opaque: addr}, Host: addr, Header: make(http.Header) } builds the CONNECT request: the method is CONNECT, the destination is addr, and the headers are empty. Headers are the labelled fields at the top of an HTTP message, like the lines of an envelope.
  8. if connectReqHandler != nil { connectReqHandler(connectReq) } lets the caller modify the request before it is sent, if a handler was supplied.
  9. c, err := proxy.dial(network, u.Host) opens the actual network connection to the upstream proxy. c is the connection.
  10. if err != nil { return nil, err } stops if the connection failed.
  11. connectReq.Write(c) sends the CONNECT request down the connection.
  12. The comment explains that a buffered reader is fine to use and discard here, because a TLS server will not speak until spoken to. TLS is the encryption layer under HTTPS. A buffered reader is a helper that reads data in chunks and holds it until the program asks for it.
  13. br := bufio.NewReader(c) wraps the connection in that buffered reader.
  14. resp, err := http.ReadResponse(br, connectReq) reads the reply from the upstream proxy and parses it into a response object.
  15. if err != nil { c.Close(); return nil, err } closes the connection and stops if the reply could not be read.
  16. defer resp.Body.Close() arranges for the response body to be closed when the function finishes. defer means "do this later, on the way out".
  17. if resp.StatusCode != 200 { checks whether the reply was anything other than 200. Status code is the three-digit number a server sends to say how it went; 200 means OK.
  18. resp, err := ioutil.ReadAll(resp.Body) is the flaw. It reads the entire body of the error reply into memory, with no limit on size. Note that the variable resp is reused here to hold the raw bytes rather than the response object.
  19. if err != nil { return nil, err } stops if the read failed.
  20. c.Close() closes the connection.
  21. return nil, errors.New("proxy refused connection" + string(resp)) builds an error message that includes the entire body as text. This is why the body was read at all: to put it in the message.
  22. return c, nil is the success path: the connection is handed back to the caller.
  23. The final return nil covers the case where the proxy address was neither empty-scheme nor plain HTTP.

So the function builds a CONNECT request, writes it to the connection, and reads the response with http.ReadResponse. When the status code is not 200, it calls ioutil.ReadAll(resp.Body) to read the whole body into memory so that it can be embedded in the error message. There is no bound on how much data that read will consume.

Step 2: Trigger the read with large bodies

It should be possible to trigger multiple plain HTTP requests from different webhooks and return very large response bodies at the same time to crash the proxy. The attacker only needs to fire multiple HTTP webhooks to a controlled endpoint that returns very large request bodies. An endpoint is a specific address on a server that accepts requests. "Controlled" means the attacker runs it and decides what it sends back.

The reason this works is that the proxy is the one making the outbound request, and the attacker chooses where it points. The attacker's server returns a non-200 status and a huge body. The proxy reads the whole body into memory to build its error message. Several of these at once multiply the memory used, and the process runs out.

Root cause

The mistake is calling ioutil.ReadAll on resp.Body without any size limit. The full response body is loaded into memory from a remote network request, and the remote host can be chosen by an untrusted user. Because the read happens on the error path, meaning the branch taken when the reply is not 200, a controlled endpoint only has to answer the proxy's CONNECT with a non-200 status and a very large body. Several such requests in parallel multiply the memory pressure. The code simply has no cap on the read.

Impact

Depending on the supervisor's restart policy on the machine, the process using Goproxy directly, or as a sub-dependency through Smokescreen, could crash or be killed. A supervisor is a program that watches other programs and restarts them if they stop. A restart policy is the rule it follows, for example "always restart" or "give up after three tries". A sub-dependency is a library that a library depends on, one level down. A prolonged attack could therefore cause considerable downtime of the service. Downtime is time during which the service is not available to its users. The severity is rated Low and the complexity is Low. Complexity here means how much skill and effort the attacker needs; Low means not much.

Fix

The Stripe-owned libraries released an update to address the issue. The mitigation avoids loading arbitrary data into memory regardless of size, limiting the size of a valid response and returning an error that closes the connection when a substantial amount of memory would be consumed. The fix uses io.LimitReader(), which lets the code specify the maximum number of bytes to read:

Go
limited := io.LimitReader(fz, 40*1024*1024)
s, err := ioutil.ReadAll(limited)

Line by line:

  1. limited := io.LimitReader(fz, 40*1024*1024) wraps the source of data, fz, in a reader that will hand over at most 40 megabytes. 1024*1024 is one megabyte in bytes, so 40*1024*1024 is 40 MB. Think of it as putting a measuring cup in the pipe: only so much can flow through.
  2. s, err := ioutil.ReadAll(limited) reads everything the limited reader will give, which is at most those 40 MB, into s.

The io.Reader returned by io.LimitReader() reports io.EOF when the returned data is more than 40 MB. EOF stands for end of file, the signal a reader gives when there is nothing more to read. In other words, the code sees a normal end of data rather than an endless stream.

Status at the time of the advisory:

Component Status
github.com/stripe/smokescreen Fixed
github.com/stripe/goproxy Fixed
github.com/elazarl/goproxy Still unresolved

Disclosure timeline:

Date Event
03/14/2022 Disclosure to the elazarl/goproxy maintainer (Elazar Leibovich, [redacted]) and to the stripe/goproxy and stripe/smokescreen maintainers (Stripe Security Team, [redacted])
05/8/2022 Fix for stripe/goproxy (39ea38205)
05/8/2022 Dependency bump in stripe/smokescreen (dbb816b6) of stripe/goproxy
08/16/2022 Advisory released by Doyensec

Disclosure means telling the people who maintain the software about the problem, usually privately, before publishing anything. A dependency bump means updating the version of a library that a project relies on, so it picks up the fix. The short codes in brackets are commit identifiers, unique labels for a specific change in a code repository.

Further reading cited in the advisory: "Be careful with ioutil.ReadAll in Golang" by Haisum Bhatti, and a Stack Overflow question on protecting a service from gzip bombs. A gzip bomb is a small compressed file that expands into an enormous amount of data when unpacked.

Variants to test

These are other places where the same kind of mistake might appear, useful if you are reviewing similar code.

  • Other unbounded ioutil.ReadAll calls on network-controlled bodies. Grep the codebase for ioutil.ReadAll and io.ReadAll applied to resp.Body, request bodies or proxied streams. To grep is to search text for a pattern. A positive result is a code path where the remote peer controls the body and no io.LimitReader or equivalent cap is applied.
  • Error paths that echo the body. Look for code that reads a body only to include it in an error message, as here. A positive result is a non-200 response from a controlled endpoint whose body is read in full and reflected into an error string.
  • Parallel requests against a controlled endpoint. Fire many concurrent requests through the proxy to an endpoint you control that returns very large bodies. A positive result is a measurable, unbounded growth in process memory and, under a restrictive supervisor policy, a restart or kill.
  • Compressed responses. Test whether a large body can be delivered in a small compressed form that expands on read. A positive result is memory growth disproportionate to the bytes on the wire.
  • Downstream consumers of the fork. Check other projects that depend on stripe/goproxy or elazarl/goproxy and expose a proxy to untrusted users. A positive result is any such service where the vulnerable path is reachable and the target host is attacker-selectable.

Glossary

  • API: a defined way for one program to ask another program to do something, like a menu of requests a kitchen will accept.
  • Buffered reader: a helper that reads data in chunks and holds it until the program asks for it.
  • Complexity (of an attack): how much skill and effort an attacker needs; Low means not much.
  • Container: a lightweight, isolated box in which a program runs on a server.
  • CONNECT: an HTTP method that asks a proxy to open a tunnel to a given address.
  • CVE: a public catalogue number used to track a specific vulnerability.
  • Dependency: a library that a project relies on.
  • Dependency bump: updating the version of a library a project relies on, so it picks up a fix.
  • Disclosure: telling the maintainers about a problem, usually privately, before publishing.
  • Domain name: the human-friendly name, like example.com, that gets translated into an IP address.
  • DoS (Denial of Service): an attack that stops a service from working by overwhelming it, without stealing data or breaking in.
  • Downtime: time during which a service is not available to its users.
  • Egress: outbound network traffic leaving a system.
  • Endpoint: a specific address on a server that accepts requests.
  • EOF (end of file): the signal a reader gives when there is nothing more to read.
  • Fork: a copy of a project that someone takes and modifies for their own needs.
  • Go (Golang): a programming language whose programs are compiled into a single file that runs on a server.
  • Grep: to search text for a pattern.
  • Gzip bomb: a small compressed file that expands into an enormous amount of data when unpacked.
  • Hardcoded: a value written directly into a program rather than configured from outside.
  • Headers: the labelled fields at the top of an HTTP message, like the lines of an envelope.
  • HTTP: the language browsers and servers use to exchange web pages and data.
  • HTTPS: the encrypted version of HTTP.
  • IP address: the numeric address of a computer on a network, like a postal address.
  • Library: a bundle of reusable code that other programs can use instead of writing everything from scratch.
  • localhost: the same machine the program is running on.
  • Man-in-the-middle: sitting between two parties and reading or altering what passes between them.
  • Memory: the working space a running program uses to hold data.
  • OOM (Out-Of-Memory): what happens when a program asks for more memory than the machine can give; the operating system kills it.
  • Package: in Go, a collection of related code.
  • Payload: the actual content being carried, as opposed to the envelope around it.
  • Port: the numbered door on a machine where a program listens.
  • Proxy: a middleman that makes network connections on behalf of another program.
  • Restart policy: the rule a supervisor follows when a program stops, for example always restart or give up after three tries.
  • Scheme: the part of a URL before ://, such as http or https.
  • Severity: a rating of how serious a vulnerability is.
  • Stargazer: someone who has marked a project as interesting on GitHub, a rough measure of popularity.
  • Status code: the three-digit number a server sends to say how a request went; 200 means OK.
  • Sub-dependency: a library that a library depends on, one level down.
  • Supervisor: a program that watches other programs and restarts them if they stop.
  • TLS: the encryption layer under HTTPS.
  • Webhook: an automatic message one system sends to another when something happens.

More by Lorenzo Stella

View all

3 more disclosed reports, best first.

More from Stripe

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.