{"api_version":"1","generated_at":"2026-07-24T04:32:34+00:00","cve":"CVE-2023-28846","urls":{"html":"https://cve.report/CVE-2023-28846","api":"https://cve.report/api/cve/CVE-2023-28846.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-28846","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-28846"},"summary":{"title":"CVE-2023-28846","description":"Unpoly is a JavaScript framework for server-side web applications. There is a possible Denial of Service (DoS) vulnerability in the `unpoly-rails` gem that implements the Unpoly server protocol for Rails applications. This issues affects Rails applications that operate as an upstream of a load balancer's that uses passive health checks. The `unpoly-rails` gem echoes the request URL as an `X-Up-Location` response header. By making a request with exceedingly long URLs (paths or query string), an attacker can cause unpoly-rails to write a exceedingly large response header. If the response header is too large to be parsed by a load balancer downstream of the Rails application, it may cause the load balancer to remove the upstream from a load balancing group. This causes that application instance to become unavailable until a configured timeout is reached or until an active healthcheck succeeds. This issue has been fixed and released as version 2.7.2.2 which is available via RubyGems and GitHub. Users unable to upgrade may: Configure your load balancer to use active health checks, e.g. by periodically requesting a route with a known response that indicates healthiness; Configure your load balancer so the maximum size of response headers is at least twice the maximum size of a URL; or instead of changing your server configuration you may also configure your Rails application to delete redundant `X-Up-Location` headers set by unpoly-rails.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-03-30 20:15:00","updated_at":"2023-11-07 04:10:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://unpoly.com/up.protocol","name":"https://unpoly.com/up.protocol","refsource":"MISC","tags":[],"title":"Server protocol - Unpoly","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/unpoly/unpoly-rails/commit/cd9ad0007daceeb3b2354fdcab4f88350427bf16","name":"https://github.com/unpoly/unpoly-rails/commit/cd9ad0007daceeb3b2354fdcab4f88350427bf16","refsource":"MISC","tags":[],"title":"Only echo the request URL as X-Up-Location if it contains query param… · unpoly/unpoly-rails@cd9ad00 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/unpoly/unpoly-rails/security/advisories/GHSA-m875-3xf6-mf78","name":"https://github.com/unpoly/unpoly-rails/security/advisories/GHSA-m875-3xf6-mf78","refsource":"MISC","tags":[],"title":"Possible Denial of Service in unpoly-rails · Advisory · unpoly/unpoly-rails · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://makandracards.com/operations/537537-nginx-proxy-buffer-tuning","name":"https://makandracards.com/operations/537537-nginx-proxy-buffer-tuning","refsource":"MISC","tags":[],"title":"Nginx Proxy buffer tuning - makandra Operations","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/#passive-health-checks","name":"https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/#passive-health-checks","refsource":"MISC","tags":[],"title":"HTTP Health Checks | NGINX Plus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://tryhexadecimal.com/guides/http/414-request-uri-too-long","name":"https://tryhexadecimal.com/guides/http/414-request-uri-too-long","refsource":"MISC","tags":[],"title":"414 Request-URI Too Long - Hexadecimal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/unpoly/unpoly-rails/","name":"https://github.com/unpoly/unpoly-rails/","refsource":"MISC","tags":[],"title":"GitHub - unpoly/unpoly-rails: Ruby on Rails bindings for Unpoly","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28846","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28846","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"28846","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"unpoly","cpe5":"unpoly-rails","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-28846","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Unpoly is a JavaScript framework for server-side web applications. There is a possible Denial of Service (DoS) vulnerability in the `unpoly-rails` gem that implements the Unpoly server protocol for Rails applications. This issues affects Rails applications that operate as an upstream of a load balancer's that uses passive health checks. The `unpoly-rails` gem echoes the request URL as an `X-Up-Location` response header. By making a request with exceedingly long URLs (paths or query string), an attacker can cause unpoly-rails to write a exceedingly large response header. If the response header is too large to be parsed by a load balancer downstream of the Rails application, it may cause the load balancer to remove the upstream from a load balancing group. This causes that application instance to become unavailable until a configured timeout is reached or until an active healthcheck succeeds. This issue has been fixed and released as version 2.7.2.2 which is available via RubyGems and GitHub. Users unable to upgrade may: Configure your load balancer to use active health checks, e.g. by periodically requesting a route with a known response that indicates healthiness; Configure your load balancer so the maximum size of response headers is at least twice the maximum size of a URL; or instead of changing your server configuration you may also configure your Rails application to delete redundant `X-Up-Location` headers set by unpoly-rails."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400: Uncontrolled Resource Consumption","cweId":"CWE-400"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"unpoly","product":{"product_data":[{"product_name":"unpoly-rails","version":{"version_data":[{"version_affected":"=","version_value":"< 2.7.2.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/unpoly/unpoly-rails/security/advisories/GHSA-m875-3xf6-mf78","refsource":"MISC","name":"https://github.com/unpoly/unpoly-rails/security/advisories/GHSA-m875-3xf6-mf78"},{"url":"https://github.com/unpoly/unpoly-rails/commit/cd9ad0007daceeb3b2354fdcab4f88350427bf16","refsource":"MISC","name":"https://github.com/unpoly/unpoly-rails/commit/cd9ad0007daceeb3b2354fdcab4f88350427bf16"},{"url":"https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/#passive-health-checks","refsource":"MISC","name":"https://docs.nginx.com/nginx/admin-guide/load-balancer/http-health-check/#passive-health-checks"},{"url":"https://github.com/unpoly/unpoly-rails/","refsource":"MISC","name":"https://github.com/unpoly/unpoly-rails/"},{"url":"https://makandracards.com/operations/537537-nginx-proxy-buffer-tuning","refsource":"MISC","name":"https://makandracards.com/operations/537537-nginx-proxy-buffer-tuning"},{"url":"https://tryhexadecimal.com/guides/http/414-request-uri-too-long","refsource":"MISC","name":"https://tryhexadecimal.com/guides/http/414-request-uri-too-long"},{"url":"https://unpoly.com/up.protocol","refsource":"MISC","name":"https://unpoly.com/up.protocol"}]},"source":{"advisory":"GHSA-m875-3xf6-mf78","discovery":"UNKNOWN"},"impact":{"cvss":[{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-03-30 20:15:00","lastModifiedDate":"2023-11-07 04:10:00","problem_types":["CWE-400"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:unpoly:unpoly-rails:*:*:*:*:*:*:*:*","versionEndExcluding":"2.7.2.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}