GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||
GeezerVison is showing github.com — [security disclosure] Unbounded Recursion in `unpackValue()` — Recoverable StackOverflow DoS · Issue #1015 · msgpack/msgpack-java Open Description
An unauthenticated remote attacker sends a small payload of deeply nested ImpactDenial of service via a recoverable per-request deserialization failure.
RemediationOption 1 — Add private int maxNestingDepth = 512; // UnpackerConfig field public ImmutableValue unpackValue() throws IOException { return unpackValue(0); } private ImmutableValue unpackValue(int depth) throws IOException { if (depth > config.getMaxNestingDepth()) { throw new MessageSizeException("Nesting depth exceeds limit: " + depth, depth); } // ARRAY/MAP cases call unpackValue(depth + 1) } Option 2 — Convert to an iterative implementation using an explicit References
Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |