Skip to content

Privacy and preparation

Security remediation dataset boundaries: when a fix narrows the license

By SourceX Editorial · Reviewed by Noah Loul ·

10 sections

Short answer

Security remediation dataset boundaries are the fields, files and access paths a data license must drop when a security fix changes what a system may expose. In Jenkins advisories from 2022 to 2025, 91 issues put secrets into configuration files or logs; 56 had no fix at publication, and 14 of the 35 fixes left records written earlier unchanged. A licensed export should follow the fixed scope, not the old one.

Redaction

Security remediation dataset

This page covers security remediation dataset boundaries: when a fix narrows the license.Illustrative

Key takeaways

  • A fix narrows the scope going forward, but records written before it, in configs, logs, backups and old exports, usually keep the old exposure.
  • Of 645 Jenkins advisory issues dated 2022-2025, 91 (14.1 percent) describe a secret written into a stored record or output; 56 of those had no fix at publication.
  • Of the 35 fixed record exposures, 14 say earlier records stay as written until saved again or cleaned by hand, including 12 of 16 plaintext-storage fixes.
  • Withholding a field changes the schema; closing an access path changes who may collect records at all, and 41 of 49 fixed Jenkins read paths now require a named permission.
  • Keep the decision structure (ID, type, versions, fix, dates) and drop the secret values and exploit steps.
  • Write the narrower scope into the license schedule, with the evidence each party holds; the supplier approves the change.

What does a security fix change about a data-sharing scope?

It moves the line between what a system may show and what it must withhold, and the license's field list has to move with it. A fix can mask or encrypt a field, stop writing a value to a log, add a permission check to an endpoint, or, when no fix exists, leave removal of the component as the only remedy. Each of those narrows what an export may carry from then on.

The harder part is backwards in time. Records written before the fix, in configuration files, build logs, backups and earlier exports, usually keep the old exposure until someone rewrites or deletes them. A dataset assembled from history therefore inherits the pre-fix scope unless the license and the preparation work say otherwise.

This article uses the Jenkins project's public security advisories to show how often that happens and what records let a buyer and a supplier prove the narrower scope was applied. It describes public evidence and record-keeping, not a security promise by SourceX or anyone else, and it is not legal or security advice for any particular system.

Why does a fix leave the records written before it untouched?

Because most fixes change how new data is written, not what old data says. Jenkins' own vulnerability guide explains that secrets stored unencrypted in item, agent or view config.xml files can be read by users with the matching Extended Read permission, by anyone with file system access, or by anyone with access to Jenkins backups (vulnerabilities.adoc, jenkins.io repository at commit a279fad, October 27, 2026). Backups and exports are exactly where a licensed dataset tends to come from.

The fixes say so in their own words. In December 2025, Jenkins 2.541 and LTS 2.528.3 began masking build authorization tokens on the job form and storing them "encrypted once job configurations are saved again", with a separate step to migrate all old configurations at once (advisory 2025-12-10). A 2022 plugin fix stopped capturing password parameters in build metadata, and its advisory adds: "Existing build.xml files are not automatically updated to remove captured environment variables. They need to be manually cleaned up" (advisory 2022-03-15).

MITRE's CWE-312 entry describes the underlying weakness as sensitive information stored in cleartext in a resource another party might reach, with encryption at rest as the main mitigation (cwe.mitre.org, checked October 27, 2026; paraphrased from a search excerpt). A fix that encrypts on the next save is a mitigation for tomorrow's files; yesterday's copy in a backup is still cleartext.

What 645 Jenkins advisory issues say about secrets in records

That secrets in stored records are common, usually unfixed at announcement, and often fixed forward only. Jenkins published 56 security advisories dated 2022 through 2025 with 645 issues; 91 of them (14.1 percent) describe a secret written into a stored record or output: 68 stored unencrypted, 16 shown or logged without masking and 7 exposed in logs or other files.

Where the secrets sat matters for scope. Forty-one of the 91 were in per-job, agent or view config.xml files, 30 in global configuration files, 15 in logs and 5 elsewhere. The first group travels with any export of job definitions; the logs travel with any export of build history.

Fifty-six of the 91 (61.5 percent) had no fix when the advisory was published. Jenkins says it announces such issues with a note that there is no fix other than no longer using the plugin, and that it does not amend an advisory if a fix comes later, so these counts describe the record at publication, not today (plugins.adoc). Of the 35 that shipped a fix, 14 say in the advisory that records written earlier stay as they were until saved again, reviewed or cleaned by hand; for the 16 fixed plaintext-storage issues, the share is 12 of 16.

A separate 83 issues opened a read path to the wrong user, such as enumerating credential IDs (34) or capturing credentials through a crafted request (28); 49 of those were fixed, and for 41 of the 49 the fix sentences name a permission the request now needs. The table breaks the record exposures down by type:

What 645 Jenkins advisory issues say about secrets in records
Exposure typeIssues, 2022-2025No fix at publicationFixed, older records left as writtenWhere the secret mostly sat
Secret stored unencrypted685212 of 16 fixedJob, agent or view config.xml (38); global configuration (28)
Secret shown or logged unmasked1641 of 12 fixedBuild logs (10)
Secret exposed in logs or other files701 of 7 fixedLogs (5); build metadata and other files (2)
Read path open to the wrong user8334Not applicableEndpoints that list or capture credentials
Two stacked horizontal bars for 91 Jenkins advisory issues that put secrets into records, 2022 to 2025. The first splits by outcome: 56 no fix at publication, 14 fixed with older records left as written, 21 fixed with the advisory silent on older records. The second splits by location: 41 job or agent config files, 30 global configuration, 15 logs, 5 other.
What happened to secrets written into Jenkins records, by advisory outcome and by location. Source: jenkins.io security advisories, 2022-2025, counted October 27, 2026.

Withholding a field and closing an access path are different scope changes

A withheld field changes the schema; a closed access path changes who may collect the data at all. Both narrow a license, but they fail in different ways if ignored, so the license should name which one each fix caused.

A withheld field is the familiar case. If a fix masks a token or stops logging a payload, the licensed schema drops that column or attribute, and the supplier scrubs the historical files that still hold it. OWASP's API Security Top 10 for 2023 frames the same problem for APIs as broken object property level authorization: an endpoint that exposes properties a user should not read, with the advice to cherry-pick the properties returned and keep returned data structures to the bare minimum (editions/2023, API3).

A closed access path is subtler. When a Jenkins fix makes credential enumeration require Overall/Administer permission, or requires POST requests for a form validation method, records collected earlier through that path were gathered under a permission model the system no longer allows. The defensible scope is what the current model would let the collecting role see, so a dataset built by a low-privilege service account should be re-cut, not grandfathered.

The remediation boundary trace: what buyer and supplier should each keep

Eight records let both parties show, later, that the narrower scope was applied to every delivery. None of them needs the secret itself or the exploit steps; they keep the decision structure, which is what an auditor or a model can learn from.

Each row names the record, who keeps it, what it proves and the Jenkins evidence that it matters:

The remediation boundary trace: what buyer and supplier should each keep
RecordKept byWhat it provesWhy, from the Jenkins advisories
Advisory or ticket ID, date and severitySupplier, shared with buyerWhich security event changed the scope, and when645 issues in 56 advisories carry IDs, dates and CVSS vectors
Affected component and versionsSupplierWhich records were produced by vulnerable versionsAdvisories list previous and fixed versions per plugin
Exposure location and field namesSupplierWhich files, logs or endpoints held the value41 of 91 sat in per-job or agent config.xml, 15 in logs
Fix mechanism and reachSupplierWhether old records were rewritten or only new writes changed14 of 35 fixes left earlier records as written
Rotation and cleanup evidenceSupplierThe exposed secret was revoked and old files scrubbed or resavedOne fix says existing build.xml files need manual cleanup
Scope amendmentBoth partiesFields or paths removed from the license, and deliveries recutFixes that mask or stop logging remove a field going forward
Unfixed status and recheck dateSupplierExcluded data stays out until a fix is confirmed56 of 91 had no fix at publication; advisories are not amended
Collection permissionsBuyer and supplierThe role that gathered records may still see them41 of 49 fixed read-path issues now require a named permission

A scope rubric: withhold, re-cut, verify or close the path

Assign every affected record group one label, and let the label decide what the license does. The counts show how the 91 Jenkins record exposures and 83 read paths would fall, using only what the advisories state:

A scope rubric: withhold, re-cut, verify or close the path
LabelTriggerJenkins issuesWhat the license does
WithholdNo fix at publication56 of 91 record exposuresExclude the component's fields and files; recheck the vendor's warnings later, since advisories are not amended
Re-cutThe fix applies only to records written or saved after it14 of 35 fixedRotate the secret, resave or scrub old records, then regenerate the export
Verify, then narrowA fix shipped, and the advisory is silent on older records21 of 35 fixedTreat older records as exposed until a scan of the export shows otherwise
Close the pathA read path now needs a permission or a POST request49 of 83 read paths fixedLimit collection to what the collecting role may see under the fixed model
KeepFixed, rotated and scanned, with evidenceNot countable from advisoriesDeliver, and file the evidence with the scope amendment

The strongest objection: once the fix ships, the old records are safe

The objection is that a shipped fix ends the risk, so historical records can be shared as they are. The advisories contradict it directly: 14 of the 35 fixed record exposures say older records remain as written, and Jenkins' guide names backups as a way to reach unencrypted secrets. An export made from a backup or an archive is the old record.

The opposite error is just as costly. Stripping every security-related record makes an engineering history useless for training remediation work, because the decision structure disappears with the secret. The aim is narrower: remove secret values, exploit steps and attack paths, and keep the advisory ID, exposure type, component versions, fix mechanism and timing.

A third point: an issue marked unfixed may since have been fixed, and a fixed advisory does not prove a particular installation upgraded. Both are reasons to keep the recheck date and the version evidence rather than relying on the advisory's word alone.

How a buyer can use remediation records without the secrets

As structured examples of remediation decisions, with values removed. A model can learn to classify an exposure, propose a fix that reaches old records, or plan a scope amendment, from records that hold the type, location, versions, fix and outcome but no live secret.

At a glance

How a buyer can use remediation records without the secrets

Before accepting a delivery, a buyer can run these checks:

  • Secret scan on the delivered files, using the field names from the remediation trace as targeted patterns as well as generic detectors.
  • Version check: confirm that no record in scope was produced only by a version listed as affected without a matching cleanup record.
  • Path check: confirm that records collected through an endpoint whose fix added a permission were recollected under that permission.
  • Structure check: confirm that each security record keeps its ID, type, versions, fix mechanism and dates after redaction.
  • Exclusion log: confirm that withheld components appear in the scope amendment with a recheck date, not silently missing.

Writing the narrower scope into the license

The narrower scope belongs in the license documents, not only in the preparation notes. The schedule that lists fields and record types should name the withdrawn fields and closed paths, the deliveries that were re-cut, and the evidence each party holds; both sides keep the amendment log for as long as the license runs.

In SourceX transactions nothing is delivered until the supplying company has signed off on the scope and terms, so a scope that narrows after a fix is a change the supplier agrees to, not one decided for it. SourceX makes no claim here about any party's security controls; the trace and rubric are record-keeping tools, and counsel and security staff should review the specific systems and contract terms.

Methods note: the Jenkins advisory count, rules and limits

Data: github.com/jenkins-infra/jenkins.io, sparse shallow clone of content/security at commit a279fadff639 (committed October 27, 2026), read on October 27, 2026; no repository code was run. Population: every advisory file named with a date from 2022-01-01 to 2025-12-31 (56 files) and every issue in its front matter, parsed with PyYAML (645 issues, no duplicate IDs).

Record exposure classes come from the issue title, case-insensitive, first match: stored unencrypted (the word stored and the phrase plain text or the word unencrypted); shown or logged unmasked (mask, masking or masked); exposed in logs or other files (log, logs, error messages, stack traces or build metadata files together with exposure, exposed, disclosure or captured). A read access path is any other title with enumerating, listing, reading, retrieving, revealed, discloses, exposed to or capturing credentials. Location comes from the description: logs when it mentions a build log, system log or logs and no config.xml or global configuration file; then global configuration file; then config.xml; otherwise other.

An issue is fixed when any affected plugin or component lists a fixed version, or when it lists none and the advisory's core section has one; one multi-plugin issue is fixed for some plugins and states no fix for another, and counts as fixed. Older records left as written means the description matches saved again, resaved, once or when within 80 characters of saved, created before, or existing within 80 characters of not automatically updated. Fix sentences are sentences that contain a fixed version and not the phrase and earlier, where an issue that lists no plugin or component takes the fixed versions in the advisory's core section; a permission is named when such a sentence contains permission or permissions. Shares are integer ratios rounded half up to one decimal, once.

Not measured: whether any issue was fixed after its advisory, how many installations upgraded or rotated secrets, the content of any secret, and anything about any company's systems. Saved outputs hold dates, SECURITY IDs, labels and flags, with no reporter names. The CWE-312 description comes from a search excerpt on cwe.mitre.org and is paraphrased; the OWASP text comes from a clone of OWASP/API-Security at commit 33cea37.

Frequently asked questions

Does a security fix automatically clean old records?

Often not. In Jenkins advisories from 2022 to 2025, 14 of 35 fixes for secrets in records said older files stay as written until they are saved again, reviewed or cleaned by hand. Exports and backups made from history need their own cleanup and a fresh secret scan.

What is the difference between withholding a field and closing an access path?

Withholding a field removes a column or attribute from the licensed schema and from historical files. Closing an access path changes who may collect records at all, so data gathered through a path that now needs a permission should be recollected under the current permission model.

Should security tickets be removed from an engineering dataset entirely?

Not necessarily. Secret values, exploit steps and attack paths should go, but the advisory ID, exposure type, affected versions, fix mechanism and dates can usually stay, and they are what makes the record useful for training remediation work.

What if the vendor never fixed the vulnerability?

Withhold the affected component's fields and files and record a recheck date. Jenkins, for example, announces unfixed plugin issues with a note that there is no fix other than no longer using the plugin, and does not amend the advisory if a fix arrives later.

Who should approve a narrower data-sharing scope?

The supplying company, with its counsel and security staff, because the scope is part of the license it signs. The buyer should receive the amendment and the evidence behind it, and both parties should keep the amendment log for the life of the license.

Sources

  • Jenkins security advisories dated 2022-2025 (56 files, 645 issues), from which the secret-in-record and read-path counts were made. Source
  • Jenkins' vulnerability guide says unencrypted secrets in config.xml files can be read with Extended Read permission, file system access or access to backups. Source
  • Jenkins announces unresolved plugin vulnerabilities with no fix other than no longer using the plugin, and does not amend advisories after later fixes. Source
  • The December 10, 2025 advisory: Jenkins 2.541 and LTS 2.528.3 store build authorization tokens encrypted once job configurations are saved again. Source
  • The March 15, 2022 advisory: existing build.xml files are not automatically updated to remove captured environment variables and need manual cleanup. Source
  • The January 12, 2022 advisory advises reviewing build logs created before a fixed plugin version for credentials. Source
  • OWASP API Security Top 10 2023, API3: endpoints that expose object properties users should not read, and the advice to return only the properties needed. Source
  • MITRE CWE-312 describes cleartext storage of sensitive information and recommends encryption at rest. Source

Tell us what data you need

Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.

See if your company qualifies