<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T11:59:06.377564+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-62866</id>
    <title>fkie_cve-2026-62866</title>
    <updated>2026-09-28T11:59:08.177539+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-62866"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-65gg-g7rw-6cpc</id>
    <title>GHSA-65gg-g7rw-6cpc — Dasel: Selector lexer panics on trailing whitespace in `parseCurRune`</title>
    <updated>2026-09-28T11:59:08.177704+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/tomwright/dasel/v3</p>
<p>Same panic class as GHSA-m5j3-4634-c2vq and GHSA-m6xr-fvfg-5g64, sister site on the same function. Trigger is any selector ending in whitespace: `dasel query 'a '` panics at `selector/lexer/tokenize.go:60`.</p>
<p>The whitespace-skip loop right above (lines 55-57) advances `p.i` to `p.srcLen` when the input is all-whitespace or whitespace-trailing. The very next line reads `p.src[p.i]` without a bounds check.</p>
<p>## Vulnerable code</p>
<p>`selector/lexer/tokenize.go:53-74` (v3.11.0):</p>
<p>```go
func (p *Tokenizer) parseCurRune() (Token, error) {
	// Skip over whitespace
	for p.i &lt; p.srcLen &amp;&amp; unicode.IsSpace(rune(p.src[p.i])) {
		p.i++
	}</p>
<p>// Skip over comments
	if p.src[p.i] == '/' &amp;&amp; p.i+1 &lt; p.srcLen &amp;&amp; p.src[p.i+1] == '/' {
		// ...
```</p>
<p>Lines 69-71 right below already do the bounds check after the comment-skip path. The whitespace-only path slipped past it.</p>
<p>## Reproduce</p>
<p>```
$ echo '{"a":1}' | dasel query -i json 'a '
panic: runtime error: index out of range [2] with length 2</p>
<p>goroutine 1 [running]:
github.com/tomwright/dasel/v3/selector/lexer.(*Tokenizer).parseCurRune(...)
	selector/lexer/tokenize.go:60
github.com/tomwright/dasel/v3/selector/lexer.(*Tokenizer).Next(...)
github.com/tomwright/dasel/v3/selector/lexer.(*Tokenizer).Tokenize(...)
github.com/tomwright/dasel/v3/selector.Parse(...)
github.com/tomwright/dasel/v3/execution.ExecuteSelector(...)
```</p>
<p>Other inputs that hit it: `'   '`, `$'a\t'`, `$'a\n'`, `'a ?? '`, `'a + '`. Any token (or no token) followed by whitespace.</p>
<p>Reachable…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-65gg-g7rw-6cpc"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-62866</id>
    <title>UBUNTU-CVE-2026-62866</title>
    <updated>2026-09-28T11:59:08.177827+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Ubuntu:Pro:24.04:LTS: dasel, Ubuntu:26.04:LTS: dasel</p>
<p>Dasel is a command-line tool and library for querying, modifying, and transforming data structures. From 3.0.0 until 3.11.2, selector/lexer/tokenize.go parseCurRune advances the input index across trailing whitespace and then reads the source at the exhausted index without an end-of-input check. A selector ending in whitespace, including input passed through lexer.NewTokenizer(...).Tokenize() or dasel.Query, can therefore cause an index-out-of-range panic and terminate the process. This issue is fixed in version 3.11.2.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-62866"/>
  </entry>
</feed>
