Skip to content

misp-stix 2026.11.18 - Contributed fixes, the MISP Extensions' OASIS home & STIX 2.0 sightings

Latest

Choose a tag to compare

@chrisr3d chrisr3d released this 19 Nov 10:54
a63b48e

Changelog - 2026.11.12 → 2026.11.18

This patch release brings in the fixes of thirteen contributed pull requests, most with a change of ours on top, one more fix found while checking them, and a fix for a STIX 2.0 sightings failure reported in #27. It also takes the MISP Extensions from their new canonical home, the OASIS Common Object Repository, which published them on 2026-11-13. The definitions every STIX 2.1 bundle embeds now point at that repository. Only their schema URL changes, so the bundles 2026.11.12 wrote are the only ones carrying the former value; the import never reads the definitions and reads both alike. Most fixes are on the import side, where an object was lost whole: MISP's own email with a screenshot, network socket without an address family, and attack pattern with references, exported then imported back; an email body part with a bare or no disposition; a network-socket observable from another producer; a Vulnerability without references or an employee with a bare contact information in a MISP-labelled bundle. On export, a file object holding only an attachment now references it, so the import no longer loses it, a regkey|value without its | is no longer split on an _, and in STIX 2.0 a sighting's source no longer sends its attribute out twice, nor does a false positive sighting on a custom attribute fail the whole export. No dependency changes. Every change shipped with tests; the suite stands at 3,088 tests. No security advisory accompanies this release. The consumer-visible behaviour changes are collected in their own section near the end.

MISP Extensions: published in the Common Object Repository

The OASIS Common Object Repository (oasis-open/cti-stix-common-objects) published the four MISP Extensions on 2026-11-13, in extension-definition-specifications/misp-5ec/. It is now their canonical home: a change to them goes there first, through the OASIS CTI committee, and misp-stix keeps a copy synced from it, never edited directly.

  • The definitions' schema. The four definitions every STIX 2.1 bundle embeds carry the repository's directory, https://github.com/oasis-open/cti-stix-common-objects/tree/main/extension-definition-specifications/misp-5ec, as their schema, where 2026.11.12 wrote the raw URL of each one's schema file in misp-stix. Nothing else changes: the ids, created_by_ref, created and modified (2026-11-12T00:00:00.000Z), the names and version (1.0.0) are as 2026.11.12 wrote them. A bundle from 2026.11.12 is therefore the only kind whose definitions differ from the repository's, in schema alone, under the same modified. The import never reads the definition objects, so it reads both alike.

  • The schemas' $id is the raw URL of each file in the repository (https://raw.githubusercontent.com/oasis-open/cti-stix-common-objects/main/extension-definition-specifications/misp-5ec/…). Nothing else in the schemas changes: they accept and refuse what they did.

  • The copy. data/misp-extensions/extension-definition-specifications/misp-5ec/ is an exact copy of the repository's directory: the schemas, the examples, which embed the definitions as the repository publishes them, and the documentation, now STIX-2.1-MISP-Extensions.md, which replaces the README. tools/update_misp_extensions.py, run by hand, syncs the copy and the packaged definitions from a commit of the repository and records it in data/misp-extensions/source.json; this release's copy is from oasis-open/cti-stix-common-objects@248eaa31 (2026-11-13). With --check, it reports whether a sync would change the copy, writing nothing; the release steps run it before a tag.

  • The MISP Project identity (identity--55f6ea65-aa10-4c5a-bf01-4f84950d210f) is packaged as before: the repository prints it in its documentation, and every example bundle carries it.

  • 0ebf6e5 - the sync script

  • 018257d, d02ba5e - the first sync, and the tests expecting the repository's URLs

  • 8400767 - the check in the release steps

STIX 1 and STIX 2 export

  • Sightings in STIX 2.0 (#27). A sighting's source was written as the Sighting's description, which STIX 2.0 does not have: the attribute went out twice, as its STIX object and as a custom x-misp-attribute, with an Error. A false positive sighting on an attribute exported as a custom object, such as a text or one of those fallbacks, made the whole 2.0 export fail, its Opinion referring to the custom object without allowing it; in MISP, the STIX 2.0 download ended in an internal error. The 2.0 Sighting carries the source as x_misp_source now, the name the 2.0 Opinion already gives it, and the Internal import reads it back; 2.1 keeps description. The Opinion refers to the custom attribute.

  • A file object with only an attachment lost it on a round trip, in both STIX 2 versions (#120). A MISP file object with an attachment and no malware-sample exported an Artifact its File did not reference, and the Internal import, which finds the attachment through the File's content_ref only, lost it silently. The File references the Artifact now, as it does a malware sample, and the attachment comes back on the file object.

  • A regkey|value without its |, in STIX 1, 2.0 and 2.1 (#125). Such a value holding one _, such as HKLM\Software\My_App, was split on it silently, into the key HKLM\Software\My and the data App; with two _, it failed with an Error, STIX 1 falling back to a custom object and STIX 2 dropping the attribute. A regkey|value now splits on | only: a value without one takes the path for a value with no separator, with a Warning, the whole value being the key (in STIX 2, an Indicator whose pattern compares the key alone, whatever to_ids). The _ fallback stays for the other composite types. MISP itself never stores such a value: it requires exactly one |.

  • The event_timestamp fallback (#123). Read before any event was parsed, the STIX 2 parser's public event_timestamp returned a naive local time, which stix2 writes as UTC, off by the host's offset. It is timezone-aware UTC now. No conversion through the entry points reaches the fallback.

  • SyntaxWarnings on Python 3.12 and later (#87). The STIX 1 export and framing modules held the package's only invalid escape sequences, '[\W]+', which Python 3.12 and later report with a SyntaxWarning when compiling them. They are raw strings now.

  • f9de30f, 310dc90, eac483a, bf19a0f, 321da44 - sightings in STIX 2.0

  • 40da31e, c16a197 - a file object with only an attachment

  • a5b5f3b, f29f5fe, f533df5, de98534 - a regkey|value without its |

  • e10e114, 522c696 - the event_timestamp fallback

  • 25c050f - the invalid escape sequences

STIX 2 import

  • An email with a screenshot, exported then imported back, was lost whole, in both versions (#131). MISP writes an email's screenshot as an Artifact body part, and the Internal import failed on it ('list' object has no attribute 'strip'), losing the whole email object. It comes back, the screenshot under its template relation, screenshot, every other disposition mapping as before; in 2.1, such an Artifact with an id no longer gets a dict as its attribute's uuid.

  • An email body part with a bare or no content_disposition, in both versions (#136). In a MISP-labelled bundle, a body part whose content_disposition had no ;, such as a bare attachment, or had none, which STIX allows, lost the whole email object. Both are read now, an absent one like a bare one.

  • Email bodies matched by an Indicator, External 2.1 (#140). The External import looked up an email body's Indicator under a key it never stored, and on the last address the message referenced, so the body always came back with to_ids False, even when an Indicator's pattern matched it. It takes its to_ids, and the Indicator's id in its comment, from the pattern now.

  • A reused parser kept the previous document's Indicators (#129). The Internal import, on a parser that had imported a document before, still read that document's Indicators: an updated event imported again on the same parser brought an attribute switched to to_ids False back True, in both versions. The parser forgets them before the next document. The entry points use one parser per file; only a library caller reusing a parser was affected.

  • MISP's network socket without an address family was lost, in both versions (#128). The export writes socket-ext only for an address family in STIX's enum, so a network-socket without address-family, or with one STIX does not list, such as AF_UNIX, goes out without it, and the Internal import lost the whole object with an Error. It comes back whole, an AF_UNIX family included.

  • Network-socket observables from other producers were lost, in both versions. The External import passed its arguments in the wrong order reading the socket-ext of a network-traffic observable, so any such observable was lost: nothing came back in 2.0, and in 2.1 the object was lost and its addresses came back as loose ip-dst. It comes back as a network-socket object, with its ports, byte and packet counts, start and end, and its addresses under the network-socket relations, from 2.0 objects, 2.1 object_refs and standalone observables alike. Along with it: network-socket byte and packet counts take the template's names, src-bytes-count, dst-bytes-count, src-packets-count and dst-packets-count, where they came back as src-byte-count, dst-byte-count, src-packets and dst-packets, which the template does not have; a network-socket Indicator comparing a MAC address is no longer lost; and the MAC address references of observables, network-traffic included, are no longer dropped silently, having been looked up under mac-address where the STIX type is mac-addr.

  • MISP's attack pattern with references was lost, in both versions (#138). MISP exports an attack-pattern's references as external references holding a url under the source_name mitre-attack or external_url. The Internal import took a URL only under the source_name url, and read an external_id from every other reference, so the whole object was lost ('ExternalReference' object has no attribute 'external_id'). A reference is read by what it carries now: an external_id gives the id, otherwise a url gives references, and a reference holding neither is skipped.

  • A reference to a missing observable cut the ones after it, External 2.1 (#134). A standalone observable referencing one the bundle does not carry kept its object but lost every reference after the missing one, with a traceback rather than the missing-observable Error: a domain resolving to a missing address and then to a present one came back without the second, which became a loose ip-dst, and a network-traffic missing its src_ref lost its destination. The same held for an address's MAC reference, a domain resolving to a domain, and an archive's or a directory's contains_refs, the directory's error report itself raising. Each missing reference now gets the Missing Observable object Error and the other references come back, a missing src_ref or dst_ref no longer skipping that side's payload.

  • A MISP-labelled Vulnerability without external references was lost, in both versions (#137). Another producer's Vulnerability carrying the MISP label but no external_references, which STIX allows, lost its object with an Error. It is kept, and when no cve or vulnerability reference gives an id, its name comes back as summary, where the import already puts a name other than the id. MISP's own export writes a vulnerability without an id as a misp-object, which comes back as before.

  • An employee with a bare contact_information was lost, in both versions (#139). In a MISP-labelled bundle, an employee identity whose contact_information lacked the relation: value form MISP writes lost its object. It is kept, the value as a text attribute with the relation contact_information, its uuid derived from the identity's id like the object's other attributes.

  • 210efba, a1b57a7, 3a9a431, cf4a557 - an email with a screenshot

  • 0c7faf6, 4cdc2ae, 1221d30 - email body parts with a bare or no disposition

  • 6493c88, b679c55 - email bodies matched by an Indicator

  • aacba1b, 0591700 - a reused parser

  • db7140f, be95133, 9d19eeb - a network socket without an address family

  • 9441d80, 7632f55, 3b1f9a9, 36656b6 - network-socket observables, counts and MAC address references

  • 2e22266, 901666c, 6705409 - attack-pattern references

  • 8de60eb, 12bcae9, 60d18a4 - references to a missing observable

  • 343d576, 1d7dfaa, 46b0847 - a Vulnerability without external references

  • f3c4739, 9e8bc6d, 78fe838 - an employee's bare contact information

Documentation

  • The README and the mapping documentation link the MISP Extensions' documentation under its new name, and name the Common Object Repository as their canonical home.

  • The mapping documentation shows the External import of network-socket observables.

  • 9c39696, 1b7a0d4 - the MISP Extensions' links

  • 01f9c89, eee0799 - the regenerated mapping documentation

Behaviour changes to check before upgrading

  • STIX 2.1 definitions' schema is the Common Object Repository's directory, for all four definitions, where 2026.11.12 wrote the raw URL of each schema file in misp-stix; nothing else in the definitions changes (d02ba5e).
  • STIX 2.0 sighting source goes out as x_misp_source on the Sighting, and the Internal import reads it back, where the attribute went out twice with an Error, and the whole export failed with a false positive sighting on it; a false positive sighting on an attribute exported as a custom object no longer fails the export (f9de30f, 310dc90, bf19a0f).
  • STIX 1, 2.0 and 2.1 regkey|value without |: the whole value is the key, with a Warning, where one _ split it silently and two lost it with an Error (a5b5f3b, f533df5).
  • STIX 2 file objects with only an attachment: the File references the Artifact through content_ref (40da31e).
  • STIX 2 import, objects that were lost come back: an email with a screenshot or with a body part's disposition bare or absent, MISP's network socket without an address family, network-socket observables from other producers, MISP's attack pattern with references, a MISP-labelled Vulnerability without external references, an employee with a bare contact information; and a standalone observable keeps its references after a missing one (3a9a431, 4cdc2ae, be95133, 3b1f9a9, 901666c, 12bcae9, 1d7dfaa, 9e8bc6d).
  • STIX 2 import, values that change: an email screenshot comes back under screenshot, where it came back under attachment; network-socket counts under src-bytes-count, dst-bytes-count, src-packets-count and dst-packets-count; an attack-pattern reference with a url and no external_id as references; the name of a MISP-labelled Vulnerability with no id as summary; an External 2.1 email body matched by an Indicator with to_ids True; a reused parser no longer carries Indicators over to the next document (3a9a431, 9441d80, 901666c, 1d7dfaa, 6493c88, aacba1b).

Contributors

Issues and pull requests

The issue fixed:

  • #27 - STIX 2.0 sightings: the source goes out as x_misp_source and comes back on import; a false positive sighting on a custom attribute no longer fails the export

The contributed pull requests:

  • #87 - STIX 1 export regular expressions: raw strings, no SyntaxWarning on Python 3.12 and later
  • #120 - a file object with only an attachment: the File references the Artifact, and the attachment survives a round trip
  • #123 - the event_timestamp fallback: timezone-aware UTC
  • #125 - a regkey|value without its |: no longer split on an _, in STIX 1, 2.0 and 2.1
  • #128 - MISP's network socket without an address family: no longer lost on import
  • #129 - a reused parser: no longer keeps the previous document's Indicators
  • #131 - an email with a screenshot: no longer lost on import
  • #134 - a reference to a missing observable: no longer cuts the references after it, External 2.1
  • #136 - an email body part with a bare or no content_disposition: no longer loses the email
  • #137 - a MISP-labelled Vulnerability without external references: no longer lost on import
  • #138 - MISP's attack pattern with references: no longer lost on import
  • #139 - an employee with a bare contact_information: no longer lost on import
  • #140 - an email body matched by an Indicator: takes its to_ids from it, External 2.1

The pull requests that brought them into main: